From 4d2825d8179d9cd0b690316b400df16051c256df Mon Sep 17 00:00:00 2001 From: Akkadius Date: Wed, 28 Jun 2017 16:43:38 -0500 Subject: [PATCH] Make sure we also fix Z when mobs flee up/down stairs --- zone/mob_ai.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index 405382033..07f89ca63 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -743,6 +743,10 @@ void Client::AI_Process() if(RuleB(Combat, EnableFearPathing)){ if(currently_fleeing) { + + if (fix_z_timer_engaged.Check()) + this->FixZ(); + if(IsRooted()) { //make sure everybody knows were not moving, for appearance sake if(IsMoving()) @@ -782,6 +786,7 @@ void Client::AI_Process() } return; } + } }