mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user