Core/Creature: revert turning state apply

partial revert of 6b55faba06

Simply removing the unit state in Creature::ReleaseFocus causes #18549 again
This commit is contained in:
ariel-
2017-01-22 02:46:20 -03:00
parent 6b55faba06
commit c83092a127

View File

@@ -2893,7 +2893,7 @@ void Creature::FocusTarget(Spell const* focusSpell, WorldObject const* target)
}
}
bool const canTurnDuringCast = !spellInfo->HasAttribute(SPELL_ATTR5_DONT_TURN_DURING_CAST) && !(spellInfo->ChannelInterruptFlags & AURA_INTERRUPT_FLAG_TURNING);
bool const canTurnDuringCast = !spellInfo->HasAttribute(SPELL_ATTR5_DONT_TURN_DURING_CAST);
// Face the target - we need to do this before the unit state is modified for no-turn spells
if (target)
SetFacingToObject(target);