(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

@@ -1251,7 +1251,6 @@ DEF_CONSOLE_CMD(ConRescanAI)
return true;
}
TarScanner::DoScan(TarScanner::AI);
AI::Rescan();
return true;
@@ -1265,7 +1264,6 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
return true;
}
TarScanner::DoScan(TarScanner::NEWGRF);
ScanNewGRFFiles(NULL);
return true;