Add missing else from previous commit
This commit is contained in:
parent
7ba43d38d7
commit
618a8ac684
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user