From 59b2d18a950635639397fcb1ff50fb98375f73bb Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 29 Dec 2019 03:37:01 -0600 Subject: [PATCH] Adjust pointer --- zone/effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index c6261dae6..5528f784a 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -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); } } }