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

This commit is contained in:
PeterN 2022-10-23 14:21:10 +01:00 committed by GitHub
parent 3a11a2ed0e
commit b04298f131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)