mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
This commit is contained in:
@@ -635,6 +635,7 @@ void DoScanNewGRFFiles(void *callback)
|
||||
_modal_progress_work_mutex->BeginCritical();
|
||||
|
||||
ClearGRFConfigList(&_all_grfs);
|
||||
TarScanner::DoScan(TarScanner::NEWGRF);
|
||||
|
||||
DEBUG(grf, 1, "Scanning for NewGRFs");
|
||||
uint num = GRFFileScanner::DoScan();
|
||||
|
||||
Reference in New Issue
Block a user