summaryrefslogtreecommitdiff
path: root/src/network/network_content.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/network_content.cpp')
-rw-r--r--src/network/network_content.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index f18381f05..b5177d6ad 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -167,9 +167,11 @@ void ClientNetworkContentSocketHandler::RequestContentList(ContentType type)
this->RequestContentList(CONTENT_TYPE_BASE_SOUNDS);
this->RequestContentList(CONTENT_TYPE_SCENARIO);
this->RequestContentList(CONTENT_TYPE_HEIGHTMAP);
+#ifdef ENABLE_AI
this->RequestContentList(CONTENT_TYPE_AI);
- this->RequestContentList(CONTENT_TYPE_NEWGRF);
this->RequestContentList(CONTENT_TYPE_AI_LIBRARY);
+#endif /* ENABLE_AI */
+ this->RequestContentList(CONTENT_TYPE_NEWGRF);
return;
}