This commit is contained in:
luis
2026-03-12 20:43:49 -03:00
parent 5d670be3c8
commit 48630fdc38
+2 -1
View File
@@ -10,6 +10,7 @@
#include "BattlegroundAI.h"
#include "GameTime.h"
#include "Player.h"
#include "PlayerAI.h" // needed for Player::AI() return type
#include "Battleground.h"
#include "BattlegroundMgr.h"
#include "Log.h"
@@ -375,7 +376,7 @@ void BattlegroundAI::FallbackBehavior(::Player* player)
return;
// If already engaged, let the combat system handle it
if (player->getVictim())
if (player->GetVictim())
return;
// Try to find a nearby enemy player