From e58a022e25d94f1a5a88f7368799b25bb4aeb78b Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sun, 18 Jan 2015 03:05:35 -0800 Subject: [PATCH] Removed a usage of Mob::DistNoRootNoZ and used ComparativeDistanceNoZ instead --- zone/effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/effects.cpp b/zone/effects.cpp index 1a988d500..c43b91168 100644 --- a/zone/effects.cpp +++ b/zone/effects.cpp @@ -674,7 +674,7 @@ void EntityList::AETaunt(Client* taunter, float range) zdiff *= -1; if (zdiff < 10 && taunter->IsAttackAllowed(them) - && taunter->DistNoRootNoZ(*them) <= range) { + && ComparativeDistanceNoZ(taunter->GetPosition(), them->GetPosition()) <= range) { if (taunter->CheckLosFN(them)) { taunter->Taunt(them, true); }