don't apply linegap to certain special textboxes

level complete, game complete and "You have rescued a crew member!"
This commit is contained in:
TerryCavanagh
2024-02-01 20:02:06 +01:00
committed by Terry Cavanagh
parent cc1528aacc
commit 8b73a38ed2
3 changed files with 10 additions and 0 deletions

View File

@@ -1506,6 +1506,12 @@ void Graphics::textboxadjust(void)
textboxes[m].adjust();
}
void Graphics::setlinegap(int customvalue)
{
textboxes[m].linegap = customvalue;
textboxes[m].resize();
}
int Graphics::getlinegap(void)
{
// Don't use linegaps in custom levels, for now anyway