From f29fe17496ba34f4818e0a1812a903a5b79e75d7 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 16 Oct 2017 13:46:09 -0500 Subject: [PATCH] Potential pathing crash fix --- 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 8efdba38c..a6d6c992a 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -1298,7 +1298,7 @@ void Mob::AI_Process() { if (AI_PursueCastCheck()) { //we did something, so do not process movement. } - else if (AI_movement_timer->Check()) + else if (AI_movement_timer->Check() && target) { if (!IsRooted()) { Log(Logs::Detail, Logs::AI, "Pursuing %s while engaged.", target->GetName());