Compile bug fixes.

This commit is contained in:
whipowill
2022-05-20 13:55:36 -05:00
parent 6ba6044e22
commit 4c0db8eda8
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ void AttackersValue::AddAttackersOf(Player* player, std::set<Unit*>& targets)
{
if (!player->GetGroup())
{
if (!unit->GetThreatMgr().getThreat(player) && (!unit->GetThreatMgr().getCurrentVictim() || unit->GetThreatMgr().getCurrentVictim()->getTarget() != player))
if (!unit->getThreatMgr().getThreat(player) && (!unit->getThreatMgr().getCurrentVictim() || unit->getThreatMgr().getCurrentVictim()->getTarget() != player))
continue;
}