From f7ab90d79d80f1a86466984c0ef618d19c901fbf Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Thu, 29 Apr 2010 11:35:31 +0200 Subject: [PATCH] Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors --HG-- branch : trunk --- src/game/SpellEffects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c061606c4d..66dba8c19a 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -7603,8 +7603,8 @@ void Spell::EffectCastButtons(uint32 i) for (; n_buttons; n_buttons--, button_id++) { ActionButton const* ab = p_caster->GetActionButton(button_id); - if (!ab || ab->GetAction() != ACTION_BUTTON_SPELL) - continue;; + if (!ab || ab->GetType() != ACTION_BUTTON_SPELL) + continue; uint32 spell_id = ab->GetAction(); if (!spell_id)