diff options
author | truebrain <truebrain@openttd.org> | 2011-11-29 23:21:52 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-29 23:21:52 +0000 |
commit | e37149a1def6a0e63dda8e0964abf1b82316761a (patch) | |
tree | d8f80cee8a3b1eb60feb883796e43300fb50cfb1 /src/network | |
parent | ae8540f5e080adebca3e54c69aa7cd85a87e550b (diff) | |
download | openttd-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.cpp | 5 |
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; |