Change window close/deallocation to match upstream
This commit is contained in:
@@ -528,7 +528,7 @@ static void LoadIntroGame(bool load_newgrfs = true)
|
||||
{
|
||||
UnshowCriticalError();
|
||||
for (Window *w : Window::IterateFromFront()) {
|
||||
delete w;
|
||||
w->Close();
|
||||
}
|
||||
|
||||
_game_mode = GM_MENU;
|
||||
|
Reference in New Issue
Block a user