Core/Spells: fix addition of unit_state_casting. thx vincent-michael

This commit is contained in:
kandera
2012-06-10 16:10:43 -03:00
parent f6fc2ef8cf
commit 41d2de2ca3

View File

@@ -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;