1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

Change: Set endgame background to match original graphics borders

This commit is contained in:
Richard Wheeler
2025-08-27 21:45:46 +01:00
parent 2978cfa5c9
commit fc1c5fa3dc

View File

@@ -49,6 +49,9 @@ struct EndGameHighScoreBaseWindow : Window {
this->DrawWidgets();
/* Original magazine and newspaper graphics hade a dark brown background, set this a full screen background*/
GfxFillRect(0, 0, this->width, this->height, 0x69)
/* Standard background slices are 50 pixels high, but it's designed
* for 480 pixels total. 96% of 500 is 480. */
Dimension dim = GetSpriteSize(this->background_img);