From 786e03b0acc1dc5bd904ba5b03112d431de21fa0 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Thu, 6 Jul 2017 10:33:03 -0500 Subject: [PATCH] One more check --- zone/mob_ai.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index d777c5f44..6b3be34d8 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1004,7 +1004,7 @@ void Mob::AI_Process() { 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()) <= 5) { + else if (std::abs(this->GetZ() - this->GetTarget()->GetZ()) <= 5 && this->GetTarget()->IsClient()) { this->m_Position.z = this->GetTarget()->GetZ(); } }