From 41a8f5ca31d89fe31516524d0ffd31605c09ff56 Mon Sep 17 00:00:00 2001 From: Emagi Date: Thu, 19 Jun 2025 08:03:01 -0400 Subject: [PATCH] #34 address hail facing direction, we were changing the heading before setting the runback info --- source/WorldServer/Spawn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/WorldServer/Spawn.cpp b/source/WorldServer/Spawn.cpp index d328aba..b269d52 100644 --- a/source/WorldServer/Spawn.cpp +++ b/source/WorldServer/Spawn.cpp @@ -3870,8 +3870,6 @@ void Spawn::FaceTarget(Spawn* target, bool disable_action_state){ if(!target) return; - FaceTarget(target->GetX(), target->GetZ()); - if(GetHP() > 0 && target->IsPlayer() && !EngagedInCombat()){ if(!IsPet() && disable_action_state) { if(IsNPC()) { @@ -3881,6 +3879,8 @@ void Spawn::FaceTarget(Spawn* target, bool disable_action_state){ SetTempActionState(0); } } + + FaceTarget(target->GetX(), target->GetZ()); } bool Spawn::MeetsSpawnAccessRequirements(Player* player){