Core/Creatures: always remove UNIT_STATE_FOCUSING when releasing spell focus regardless of the spell's attributes to prevent soft-locking a creatures's orientation
This commit is contained in:
1 parent
5931ab55f6
commit
9ea4f3914d
1 file changed
+1
-2
@@ -3237,8 +3237,7 @@ void Creature::ReleaseSpellFocus(Spell const* focusSpell, bool withDelay)
|
||||
if (focusSpell && focusSpell != _spellFocusInfo.FocusSpell)
|
||||
return;
|
||||
|
||||
if (_spellFocusInfo.FocusSpell->GetSpellInfo()->HasAttribute(SPELL_ATTR5_DONT_TURN_DURING_CAST))
|
||||
ClearUnitState(UNIT_STATE_FOCUSING);
|
||||
ClearUnitState(UNIT_STATE_FOCUSING);
|
||||
|
||||
if (IsPet()) // player pets do not use delay system
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user