(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user