Add missing else from previous commit

This commit is contained in:
H0zen 2016-05-09 20:59:59 +01:00 committed by Antz
parent 7ba43d38d7
commit 618a8ac684

View File

@ -2610,13 +2610,11 @@ void Spell::prepare(SpellCastTargets const* targets, Aura* triggeredByAura)
TriggerGlobalCooldown();
}
// execute triggered without cast time explicitly in call point
if (m_timer == 0)
cast(true);
// else triggered with cast time will execute execute at next tick or later
// without adding to cast type slot
// will not show cast bar but will show effects at casting time etc
else
{
if (m_timer == 0)
cast(true);
}
}
void Spell::cancel()