(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.

This commit is contained in:
rubidium
2009-02-08 23:06:56 +00:00
parent ebd72fa0fd
commit 7b8c13fa5c
2 changed files with 7 additions and 3 deletions

View File

@@ -649,6 +649,10 @@ int ttd_main(int argc, char *argv[])
InitializeGUI();
IConsoleCmdExec("exec scripts/autoexec.scr 0");
/* Initialise the sprite/string tables. */
GfxLoadSprites();
LoadStringWidthTable();
GenerateWorld(GW_EMPTY, 64, 64); // Make the viewport initialization happy
WaitTillGeneratedWorld();