From 94b5684b421b7a59207709ea382a417381509463 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Wed, 5 Jul 2017 18:59:43 -0500 Subject: [PATCH] Fix fighting on hill issues --- zone/mob_ai.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index 58d685df4..dd814df12 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1003,10 +1003,6 @@ void Mob::AI_Process() { if (DistanceNoZ(this->GetPosition(), this->GetTarget()->GetPosition()) > 50) { this->FixZ(); } - /* If we are close to client and our Z differences aren't big, match the client */ - else if (std::abs(this->GetZ() - this->GetTarget()->GetZ()) < 20){ - this->m_Position.z = this->GetTarget()->GetZ(); - } } if (!(m_PlayerState & static_cast(PlayerState::Aggressive)))