Do not call ReInitAllWindows from within LoadStringWidthTable
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user