#34 address hail facing direction, we were changing the heading before setting the runback info

This commit is contained in:
Emagi 2025-06-19 08:03:01 -04:00
parent 9fbae149d8
commit 41a8f5ca31

View File

@ -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){