1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-27 14:14:27 +01:00

Change: Move OpenTTD version to intro viewport. (#14233)

This stops the length of the game version from affecting the main menu.
This commit is contained in:
Peter Nelson
2025-05-11 20:01:22 +01:00
committed by GitHub
parent 03116ea878
commit b38527ca05
2 changed files with 5 additions and 1 deletions

View File

@@ -270,6 +270,9 @@ struct MainWindow : Window
DrawSprite(sprite, PAL_NONE, off_x, ScaleGUITrad(50));
off_x += GetSpriteSize(sprite).width + letter_spacing;
}
int text_y = this->height - GetCharacterHeight(FS_NORMAL) * 2;
DrawString(0, this->width - 1, text_y, STR_INTRO_VERSION, TC_WHITE, SA_CENTER);
}
}