diff --git a/zone/attack.cpp b/zone/attack.cpp index 68e088b02..4661a83e3 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -38,6 +38,10 @@ #include #include +#ifdef BOTS +#include "bot.h" +#endif + extern QueryServ* QServ; extern WorldServer worldserver; diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index f0528501a..be7d559e5 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -58,6 +58,10 @@ #include "worldserver.h" #include "zone.h" +#ifdef BOTS +#include "bot.h" +#endif + extern QueryServ* QServ; extern Zone* zone; extern volatile bool ZoneLoaded; diff --git a/zone/entity.cpp b/zone/entity.cpp index fa029dd0f..369e1503a 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -46,6 +46,10 @@ #define strcasecmp _stricmp #endif +#ifdef BOTS +#include "bot.h" +#endif + extern Zone *zone; extern volatile bool ZoneLoaded; extern WorldServer worldserver; diff --git a/zone/exp.cpp b/zone/exp.cpp index c30ea1918..1aafb8a3f 100644 --- a/zone/exp.cpp +++ b/zone/exp.cpp @@ -30,6 +30,10 @@ #include "quest_parser_collection.h" #include "string_ids.h" +#ifdef BOTS +#include "bot.h" +#endif + extern QueryServ* QServ; diff --git a/zone/mob.cpp b/zone/mob.cpp index 73e356efb..e497ed05e 100644 --- a/zone/mob.cpp +++ b/zone/mob.cpp @@ -27,6 +27,10 @@ #include #include +#ifdef BOTS +#include "bot.h" +#endif + extern EntityList entity_list; extern Zone* zone; diff --git a/zone/spells.cpp b/zone/spells.cpp index baae446c8..01f2f4209 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -89,6 +89,10 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org) #include "../common/packet_dump_file.h" #endif +#ifdef BOTS +#include "bot.h" +#endif + extern Zone* zone; diff --git a/zone/zoning.cpp b/zone/zoning.cpp index 71ea65dc8..354ad2b33 100644 --- a/zone/zoning.cpp +++ b/zone/zoning.cpp @@ -25,6 +25,10 @@ #include "worldserver.h" #include "zone.h" +#ifdef BOTS +#include "bot.h" +#endif + extern QueryServ* QServ; extern WorldServer worldserver; extern Zone* zone;