summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-11-29 23:21:52 +0000
committertruebrain <truebrain@openttd.org>2011-11-29 23:21:52 +0000
commite37149a1def6a0e63dda8e0964abf1b82316761a (patch)
treed8f80cee8a3b1eb60feb883796e43300fb50cfb1 /src/network
parentae8540f5e080adebca3e54c69aa7cd85a87e550b (diff)
downloadopenttd-e37149a1def6a0e63dda8e0964abf1b82316761a.tar.xz
(svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index d1a04c04e..de7087c1e 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -97,10 +97,13 @@ bool ClientNetworkContentSocketHandler::Receive_SERVER_INFO(Packet *p)
break;
case CONTENT_TYPE_AI:
- case CONTENT_TYPE_AI_LIBRARY:
proc = AI::HasAI; break;
break;
+ case CONTENT_TYPE_AI_LIBRARY:
+ proc = AI::HasAILibrary; break;
+ break;
+
case CONTENT_TYPE_SCENARIO:
case CONTENT_TYPE_HEIGHTMAP:
proc = HasScenario;