summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-02-18 17:42:27 +0000
committerrubidium <rubidium@openttd.org>2012-02-18 17:42:27 +0000
commite185c2f609697a019a4eefc07a3f286e11987a41 (patch)
tree3d8f6fc604624223d9d0ac6a6daaf9fbfd1f9934 /src
parent703ef5b7b68aafd527d319901e3f41f1b9f85d55 (diff)
downloadopenttd-e185c2f609697a019a4eefc07a3f286e11987a41.tar.xz
(svn r23963) -Fix [FS#5072]: do not look for missing sprites twice during startup
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 4644d1406..3c8047b26 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -331,7 +331,7 @@ static void LoadIntroGame(bool load_newgrfs = true)
_pause_mode = PM_UNPAUSED;
_cursor.fix_at = false;
- CheckForMissingSprites();
+ if (load_newgrfs) CheckForMissingSprites();
CheckForMissingGlyphs();
/* Play main theme */