diff --git a/src/modules/Bots/playerbot/PlayerbotAI.cpp b/src/modules/Bots/playerbot/PlayerbotAI.cpp index ee635ec85..9eb0dc7e2 100644 --- a/src/modules/Bots/playerbot/PlayerbotAI.cpp +++ b/src/modules/Bots/playerbot/PlayerbotAI.cpp @@ -60,16 +60,6 @@ void PacketHandlingHelper::AddPacket(const WorldPacket& packet) } } - -PlayerbotAI::PlayerbotAI() : PlayerbotAIBase(), bot(NULL), aiObjectContext(NULL), - currentEngine(NULL), chatHelper(this), chatFilter(this), accountId(0), security(NULL), master(NULL) -{ - for (int i = 0 ; i < BOT_STATE_MAX; i++) - { - engines[i] = NULL; - } -} - PlayerbotAI::PlayerbotAI(Player* bot) : PlayerbotAIBase(), chatHelper(this), chatFilter(this), security(bot), master(NULL), accountId(sObjectMgr.GetPlayerAccountIdByGUID(bot->GetObjectGuid())) diff --git a/src/modules/Bots/playerbot/PlayerbotAI.h b/src/modules/Bots/playerbot/PlayerbotAI.h index a66a7b961..bd2c5b953 100644 --- a/src/modules/Bots/playerbot/PlayerbotAI.h +++ b/src/modules/Bots/playerbot/PlayerbotAI.h @@ -104,7 +104,6 @@ class ChatCommandHolder class PlayerbotAI : public PlayerbotAIBase { public: - PlayerbotAI(); PlayerbotAI(Player* bot); virtual ~PlayerbotAI(); diff --git a/src/modules/Bots/playerbot/PlayerbotAIConfig.cpp b/src/modules/Bots/playerbot/PlayerbotAIConfig.cpp index 040845a4b..802469dd8 100644 --- a/src/modules/Bots/playerbot/PlayerbotAIConfig.cpp +++ b/src/modules/Bots/playerbot/PlayerbotAIConfig.cpp @@ -9,10 +9,6 @@ using namespace std; INSTANTIATE_SINGLETON_1(PlayerbotAIConfig); -PlayerbotAIConfig::PlayerbotAIConfig() -{ -} - template void LoadList(const string& value, T &list) { diff --git a/src/modules/Bots/playerbot/PlayerbotAIConfig.h b/src/modules/Bots/playerbot/PlayerbotAIConfig.h index d99d5a79c..50f901518 100644 --- a/src/modules/Bots/playerbot/PlayerbotAIConfig.h +++ b/src/modules/Bots/playerbot/PlayerbotAIConfig.h @@ -9,7 +9,6 @@ class ChatHandler; class PlayerbotAIConfig { public: - PlayerbotAIConfig(); static PlayerbotAIConfig& instance() { static PlayerbotAIConfig instance;