From 78eb852ed3c64d01e7a8b45e342aa3ff03b4be1d Mon Sep 17 00:00:00 2001 From: Arthur Ice Date: Sat, 17 Jan 2015 18:32:41 -0800 Subject: [PATCH] Removed a usage of Mob::DistNoRoot and used ComparativeDistance instead --- zone/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/client.cpp b/zone/client.cpp index ee48af831..cee43648e 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -2540,7 +2540,7 @@ bool Client::BindWound(Mob* bindmob, bool start, bool fail){ } else { - if (!GetFeigned() && (bindmob->DistNoRoot(*this) <= 400)) { + if (!GetFeigned() && (ComparativeDistance(bindmob->GetPosition(), m_Position) <= 400)) { // send bindmob bind done if(!bindmob->IsAIControlled() && bindmob != this ) {