From 7817610b0752cb683f97ba20345015e560258ca8 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Fri, 24 Nov 2017 16:42:47 +0100 Subject: [PATCH] Core/SAI: Disable incorrect flag change --- src/server/game/AI/SmartScripts/SmartAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 5525ef87f43..c8ff2d1a7d4 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -147,7 +147,7 @@ void SmartAI::StartPath(bool run, uint32 path, bool repeat, Unit* invoker) if (invoker && invoker->GetTypeId() == TYPEID_PLAYER) { mEscortNPCFlags = me->GetUInt32Value(UNIT_NPC_FLAGS); - me->SetUInt32Value(UNIT_NPC_FLAGS, 0); + // me->SetUInt32Value(UNIT_NPC_FLAGS, 0); this is incorrect, it needs cp of wp rewrite from 3.3.5a } mLastOOCPos = me->GetPosition();