From 618a8ac684e09a5155dd7d80f750786ee57e7444 Mon Sep 17 00:00:00 2001 From: H0zen Date: Mon, 9 May 2016 20:59:59 +0100 Subject: [PATCH] Add missing else from previous commit --- src/game/WorldHandlers/Spell.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/game/WorldHandlers/Spell.cpp b/src/game/WorldHandlers/Spell.cpp index 6e6861c7..9d2ff969 100644 --- a/src/game/WorldHandlers/Spell.cpp +++ b/src/game/WorldHandlers/Spell.cpp @@ -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()