mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-06 17:22:17 +00:00
Adjust pointer
This commit is contained in:
1 parent
54f73d7420
commit
59b2d18a95
1 file changed
+1
-1
+1
-1
@@ -706,7 +706,7 @@ void EntityList::AETaunt(Client *taunter, float range, int32 bonus_hate)
|
|||||||
&& taunter->IsAttackAllowed(them)
|
&& taunter->IsAttackAllowed(them)
|
||||||
&& DistanceSquaredNoZ(taunter->GetPosition(), them->GetPosition()) <= range_squared) {
|
&& DistanceSquaredNoZ(taunter->GetPosition(), them->GetPosition()) <= range_squared) {
|
||||||
if (taunter->CheckLosFN(them)) {
|
if (taunter->CheckLosFN(them)) {
|
||||||
taunter->Taunt(them, true, 0, true, bonus_hate);
|
taunter->Taunt(them->CastToNPC(), true, 0, true, bonus_hate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user