From 21bd2722cd89995370523385c213da32c8d47100 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 10 Feb 2010 16:24:05 +0000 Subject: (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel --- src/network/network_command.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/network/network_command.cpp') diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index 7e849cf9a..15a67b957 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.cpp @@ -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, -- cgit v1.2.3-54-g00ecf