Adjust pointer

This commit is contained in:
Akkadius 2019-12-29 03:37:01 -06:00
parent 54f73d7420
commit 59b2d18a95

View File

@ -706,7 +706,7 @@ void EntityList::AETaunt(Client *taunter, float range, int32 bonus_hate)
&& taunter->IsAttackAllowed(them)
&& DistanceSquaredNoZ(taunter->GetPosition(), them->GetPosition()) <= range_squared) {
if (taunter->CheckLosFN(them)) {
taunter->Taunt(them, true, 0, true, bonus_hate);
taunter->Taunt(them->CastToNPC(), true, 0, true, bonus_hate);
}
}
}