diff options
author | rubidium <rubidium@openttd.org> | 2009-02-08 23:06:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-08 23:06:56 +0000 |
commit | a7264bd5aa15e2776a180b403d9d00ed180371eb (patch) | |
tree | 8461f8892707a973f4dd6f358fd72e40c03524c8 /src/openttd.cpp | |
parent | e8ce27b8fbb42f43da197d8a94e3499a3fca93d0 (diff) | |
download | openttd-a7264bd5aa15e2776a180b403d9d00ed180371eb.tar.xz |
(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 85c51cce7..21b9ed4d9 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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(); |