Skip to content

Commit a12f4e3

Browse files
committed
safe
1 parent 64b3c84 commit a12f4e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Entities/Creature/Creature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3150,7 +3150,7 @@ void Creature::ReacquireSpellFocusTarget()
31503150
if (WorldObject const* objTarget = ObjectAccessor::GetWorldObject(*this, _spellFocusInfo.Target))
31513151
SetFacingToObject(objTarget, false, EVENT_SPELL_FOCUS);
31523152
}
3153-
else
3153+
else if (_spellFocusInfo.Orientation.has_value())
31543154
SetFacingTo(_spellFocusInfo.Orientation.value(), false, EVENT_SPELL_FOCUS);
31553155
}
31563156
_spellFocusInfo.Delay = 0;

0 commit comments

Comments
 (0)