(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
This commit is contained in:
@@ -1251,7 +1251,7 @@ DEF_CONSOLE_CMD(ConRescanAI)
|
||||
return true;
|
||||
}
|
||||
|
||||
TarScanner::DoScan();
|
||||
TarScanner::DoScan(TarScanner::AI);
|
||||
AI::Rescan();
|
||||
|
||||
return true;
|
||||
@@ -1265,7 +1265,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
|
||||
return true;
|
||||
}
|
||||
|
||||
TarScanner::DoScan();
|
||||
TarScanner::DoScan(TarScanner::NEWGRF);
|
||||
ScanNewGRFFiles(NULL);
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user