Core/Spells: fix addition of unit_state_casting. thx vincent-michael
This commit is contained in:
1 parent
f6fc2ef8cf
commit
41d2de2ca3
1 file changed
+1
-1
@@ -2893,7 +2893,7 @@ void Unit::SetCurrentCastedSpell(Spell* pSpell)
|
||||
InterruptSpell(CURRENT_AUTOREPEAT_SPELL);
|
||||
m_AutoRepeatFirstCast = true;
|
||||
}
|
||||
if ((pSpell->m_spellInfo->CalcCastTime(this) > 0) && IsNonMeleeSpellCasted(false, false, true))
|
||||
if (pSpell->m_spellInfo->CalcCastTime(this) > 0)
|
||||
AddUnitState(UNIT_STATE_CASTING);
|
||||
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user