mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
This commit is contained in:
@@ -38,7 +38,11 @@ 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,
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user