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/network/network_content_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') 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: -- cgit v1.2.3-70-g09d2