From b2b447516de781e330099437c04ffc4f88145296 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 16 Jul 2017 03:31:26 -0500 Subject: [PATCH] Make a FixZ call at waypoint arrive so bad grids don't make NPC's hop --- zone/mob_ai.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index a016b98e6..56ebb6fc2 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1573,6 +1573,8 @@ void NPC::AI_DoMovement() { SetHeading(m_CurrentWayPoint.w); } + this->FixZ(); + SendPosition(); //kick off event_waypoint arrive