mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 19:39:12 +00:00
Change: Set endgame background to match original graphics borders
This commit is contained in:
@@ -49,6 +49,9 @@ struct EndGameHighScoreBaseWindow : Window {
|
||||
|
||||
this->DrawWidgets();
|
||||
|
||||
/* Fill with the appropriate background colour instead of leaving default window colour */
|
||||
GfxFillRect(Rect{0, 0, this->width, this->height}, PixelColour{105}, FILLRECT_OPAQUE);
|
||||
|
||||
/* 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);
|
||||
|
Reference in New Issue
Block a user