(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories

This commit is contained in:
rubidium
2011-11-14 21:30:37 +00:00
parent 160294ff22
commit 6d991b3b10
7 changed files with 60 additions and 16 deletions

View File

@@ -1172,7 +1172,7 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback {
case SNGRFS_RESCAN_FILES:
case SNGRFS_RESCAN_FILES2:
TarScanner::DoScan();
TarScanner::DoScan(TarScanner::NEWGRF);
ScanNewGRFFiles(this);
break;
}