From b04298f13199abf0656ebce4976f88b29b570b98 Mon Sep 17 00:00:00 2001 From: PeterN Date: Sun, 23 Oct 2022 14:21:10 +0100 Subject: [PATCH] Fix #9087: NewGRF invalidation calls ReInitAllWindows with wrong parameter. (#10102) --- src/settings_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings_table.cpp b/src/settings_table.cpp index d0b1fb95e3..9b401774e9 100644 --- a/src/settings_table.cpp +++ b/src/settings_table.cpp @@ -286,7 +286,7 @@ static void InvalidateNewGRFChangeWindows(int32 new_value) { InvalidateWindowClassesData(WC_SAVELOAD); CloseWindowByClass(WC_GAME_OPTIONS); - ReInitAllWindows(_gui_zoom_cfg); + ReInitAllWindows(false); } static void InvalidateCompanyLiveryWindow(int32 new_value)