summaryrefslogtreecommitdiff
path: root/src/network
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/network
parent387e410f3e7898cadec041f2849bc949810544bb (diff)
downloadopenttd-4ae8bbea0706aa6c878d713489056ef634aa2d6d.tar.xz
(svn r23222) -Codechange: reduce tar scanning calls to the bare minimum
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 782f3d52c..5a7b0c281 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -91,7 +91,7 @@ public:
switch (*iter) {
case CONTENT_TYPE_AI:
case CONTENT_TYPE_AI_LIBRARY:
- mode |= TarScanner::AI;
+ /* AI::Rescan calls the scanner. */
break;
case CONTENT_TYPE_BASE_GRAPHICS:
@@ -101,7 +101,7 @@ public:
break;
case CONTENT_TYPE_NEWGRF:
- mode |= TarScanner::NEWGRF;
+ /* ScanNewGRFFiles calls the scanner. */
break;
case CONTENT_TYPE_SCENARIO: