Fix #9087: NewGRF invalidation calls ReInitAllWindows with wrong parameter. (#10102)

This commit is contained in:
2022-10-23 14:21:10 +01:00
committed by GitHub
parent 3a11a2ed0e
commit b04298f131

View File

@@ -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)