1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 10:29:10 +00:00

Fix: Highscore/Endgame window can disappear offscreen if game window is resized. (#12951)

This commit is contained in:
2024-09-19 09:18:25 +01:00
committed by GitHub
parent df0233f4c2
commit 3bfd9de68d

View File

@@ -3462,6 +3462,8 @@ void RelocateAllWindows(int neww, int newh)
switch (w->window_class) {
case WC_MAIN_WINDOW:
case WC_BOOTSTRAP:
case WC_HIGHSCORE:
case WC_ENDSCREEN:
ResizeWindow(w, neww, newh);
continue;