diff options
author | rubidium <rubidium@openttd.org> | 2011-11-14 21:40:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-14 21:40:39 +0000 |
commit | 4ae8bbea0706aa6c878d713489056ef634aa2d6d (patch) | |
tree | 366dec593752264fe905cd51d2478d88caaba56e /src/console_cmds.cpp | |
parent | 387e410f3e7898cadec041f2849bc949810544bb (diff) | |
download | openttd-4ae8bbea0706aa6c878d713489056ef634aa2d6d.tar.xz |
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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; |