summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_command.cpp4
-rw-r--r--src/network/network_content.cpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp
index 0e37eeff4..070e810d8 100644
--- a/src/network/network_command.cpp
+++ b/src/network/network_command.cpp
@@ -39,11 +39,7 @@ static CommandCallback * const _callback_table[] = {
/* 0x0F */ CcPlaySound1E,
/* 0x10 */ CcStation,
/* 0x11 */ CcTerraform,
-#ifdef ENABLE_AI
/* 0x12 */ CcAI,
-#else
- /* 0x12 */ NULL,
-#endif /* ENABLE_AI */
/* 0x13 */ CcCloneVehicle,
/* 0x14 */ CcGiveMoney,
/* 0x15 */ CcCreateGroup,
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index de7087c1e..98c9f171b 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -180,10 +180,8 @@ 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_AI_LIBRARY);
-#endif /* ENABLE_AI */
this->RequestContentList(CONTENT_TYPE_NEWGRF);
return;
}