Skip to content

Commit

Permalink
[Playerbot] Copy Constructor Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
PargeLenis committed Feb 7, 2023
1 parent 03d166e commit 8107fdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/Bots/playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void PacketHandlingHelper::AddPacket(const WorldPacket& packet)
}


PlayerbotAI::PlayerbotAI() : PlayerbotAIBase(), bot(NULL), aiObjectContext(NULL),
PlayerbotAI::PlayerbotAI() : PlayerbotAIBase(), bot(NULL), aiObjectContext(NULL), currentState(BOT_STATE_NON_COMBAT)
currentEngine(NULL), chatHelper(this), chatFilter(this), accountId(0), security(NULL), master(NULL)
{
for (int i = 0 ; i < BOT_STATE_MAX; i++)
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Bots/playerbot/PlayerbotAIConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using namespace std;

INSTANTIATE_SINGLETON_1(PlayerbotAIConfig);

PlayerbotAIConfig::PlayerbotAIConfig()
PlayerbotAIConfig::PlayerbotAIConfig() : enabled(NULL)
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Bots/playerbot/strategy/actions/HelpAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using namespace ai;

HelpAction::HelpAction(PlayerbotAI* ai) : Action(ai, "help")
{
chatContext = new ChatActionContext();
chatContext = new ChatActionContext;
}

HelpAction::~HelpAction()
Expand Down

0 comments on commit 8107fdf

Please sign in to comment.