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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user