1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum

This commit is contained in:
rubidium
2011-11-14 21:40:39 +00:00
parent 387e410f3e
commit 4ae8bbea07
6 changed files with 12 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ public:
switch (*iter) {
case CONTENT_TYPE_AI:
case CONTENT_TYPE_AI_LIBRARY:
mode |= TarScanner::AI;
/* AI::Rescan calls the scanner. */
break;
case CONTENT_TYPE_BASE_GRAPHICS:
@@ -101,7 +101,7 @@ public:
break;
case CONTENT_TYPE_NEWGRF:
mode |= TarScanner::NEWGRF;
/* ScanNewGRFFiles calls the scanner. */
break;
case CONTENT_TYPE_SCENARIO: