Do not call ReInitAllWindows from within LoadStringWidthTable

This commit is contained in:
Jonathan G Rennison
2023-01-29 10:31:28 +00:00
parent 98d7ba8b9d
commit 7a7c688b11
4 changed files with 6 additions and 2 deletions

View File

@@ -881,6 +881,7 @@ bool AfterLoadGame()
/* Load the sprites */
GfxLoadSprites();
LoadStringWidthTable();
ReInitAllWindows(false);
/* Copy temporary data to Engine pool */
CopyTempEngineData();
@@ -4265,6 +4266,8 @@ void ReloadNewGRFData()
UpdateExtraAspectsVariable();
ReInitAllWindows(false);
/* Update company statistics. */
AfterLoadCompanyStats();
/* Check and update house and town values */