From 4ae8bbea0706aa6c878d713489056ef634aa2d6d Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 14 Nov 2011 21:40:39 +0000 Subject: (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum --- src/console_cmds.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/console_cmds.cpp') diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 043d43b0c..85731de43 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -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; -- cgit v1.2.3-54-g00ecf