Compile bug fixes.

This commit is contained in:
whipowill
2022-05-20 14:04:16 -05:00
parent 4c0db8eda8
commit f9eb041827
5 changed files with 9 additions and 9 deletions

View File

@@ -1048,7 +1048,7 @@ bool MovementAction::Flee(Unit *target)
}
}
HostileReference* ref = target->getThreatMgr().getCurrentVictim();
HostileReference* ref = target->GetThreatMgr().getCurrentVictim();
if (ref && ref->getTarget() == bot) // bot is target - try to flee to tank or master
{
if (Group* group = bot->GetGroup())