diff --git a/zone/CMakeLists.txt b/zone/CMakeLists.txt index 0430274f9..5f00e689a 100644 --- a/zone/CMakeLists.txt +++ b/zone/CMakeLists.txt @@ -45,6 +45,7 @@ SET(zone_sources horse.cpp inventory.cpp loottables.cpp + lua_bot.cpp lua_bit.cpp lua_corpse.cpp lua_client.cpp @@ -102,6 +103,7 @@ SET(zone_sources pathfinder_nav_mesh.cpp pathfinder_null.cpp pathing.cpp + perl_bot.cpp perl_client.cpp perl_doors.cpp perl_entity.cpp @@ -195,6 +197,7 @@ SET(zone_headers hate_list.h heal_rotation.h horse.h + lua_bot.h lua_bit.h lua_client.h lua_corpse.h diff --git a/zone/lua_bot.cpp b/zone/lua_bot.cpp index 78bb7049c..69ddc1187 100644 --- a/zone/lua_bot.cpp +++ b/zone/lua_bot.cpp @@ -1,3 +1,4 @@ +#ifdef BOTS #ifdef LUA_EQEMU #include "lua.hpp" @@ -11,3 +12,4 @@ luabind::scope lua_register_bot() { } #endif +#endif \ No newline at end of file diff --git a/zone/lua_bot.h b/zone/lua_bot.h index 3e7d17631..fffb844ea 100644 --- a/zone/lua_bot.h +++ b/zone/lua_bot.h @@ -1,3 +1,4 @@ +#ifdef BOTS #ifndef EQEMU_LUA_BOT_H #define EQEMU_LUA_BOT_H #ifdef LUA_EQEMU @@ -28,3 +29,4 @@ public: #endif #endif +#endif \ No newline at end of file diff --git a/zone/perl_bot.cpp b/zone/perl_bot.cpp index d78c82d52..d1a9e92a2 100644 --- a/zone/perl_bot.cpp +++ b/zone/perl_bot.cpp @@ -13,6 +13,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef BOTS #include "../common/features.h" #ifdef EMBPERL_XS_CLASSES #include "../common/global_define.h" @@ -81,4 +82,5 @@ XS(boot_Bot) XSRETURN_YES; } -#endif //EMBPERL_XS_CLASSES \ No newline at end of file +#endif //EMBPERL_XS_CLASSES +#endif //BOTS \ No newline at end of file