summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-14 21:40:39 +0000
committerrubidium <rubidium@openttd.org>2011-11-14 21:40:39 +0000
commit4ae8bbea0706aa6c878d713489056ef634aa2d6d (patch)
tree366dec593752264fe905cd51d2478d88caaba56e /src/openttd.cpp
parent387e410f3e7898cadec041f2849bc949810544bb (diff)
downloadopenttd-4ae8bbea0706aa6c878d713489056ef634aa2d6d.tar.xz
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index c82d7d823..5033eff35 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -621,7 +621,7 @@ int ttd_main(int argc, char *argv[])
* The next two functions are needed to list the graphics sets. We can't do them earlier
* because then we cannot show it on the debug console as that hasn't been configured yet. */
DeterminePaths(argv[0]);
- TarScanner::DoScan(TarScanner::AI | TarScanner::BASESET);
+ TarScanner::DoScan(TarScanner::BASESET);
BaseGraphics::FindSets();
BaseSounds::FindSets();
BaseMusic::FindSets();
@@ -636,7 +636,7 @@ int ttd_main(int argc, char *argv[])
#endif
DeterminePaths(argv[0]);
- TarScanner::DoScan(TarScanner::ALL);
+ TarScanner::DoScan(TarScanner::BASESET | TarScanner::SCENARIO);
BaseGraphics::FindSets();
BaseSounds::FindSets();
BaseMusic::FindSets();