mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
BG Crash fixes
This commit is contained in:
@@ -897,7 +897,7 @@ void PlayerbotAI::DoNextAction(bool min)
|
||||
}
|
||||
|
||||
// same BG
|
||||
if (bot->InBattleground() && bot->GetBattleground()->GetBgTypeID() == BATTLEGROUND_AV && !GET_PLAYERBOT_AI(member) && member->InBattleground() && bot->GetMapId() == member->GetMapId())
|
||||
if (bot->InBattleground() && bot->GetBattleground() && bot->GetBattleground()->GetBgTypeID() == BATTLEGROUND_AV && !GET_PLAYERBOT_AI(member) && member->InBattleground() && bot->GetMapId() == member->GetMapId())
|
||||
{
|
||||
// TODO disable move to objective if have master in bg
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user