summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-14 21:40:39 +0000
committerrubidium <rubidium@openttd.org>2011-11-14 21:40:39 +0000
commit4ae8bbea0706aa6c878d713489056ef634aa2d6d (patch)
tree366dec593752264fe905cd51d2478d88caaba56e /src/console_cmds.cpp
parent387e410f3e7898cadec041f2849bc949810544bb (diff)
downloadopenttd-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.cpp2
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;