diff options
author | Machiavelli <none@none> | 2010-04-29 11:35:31 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-04-29 11:35:31 +0200 |
commit | f7ab90d79d80f1a86466984c0ef618d19c901fbf (patch) | |
tree | b11109f297db650db1e3ce336e0b6045a94d2a2f /src | |
parent | e45ec850967b032bd4343408eb15c1080964b5c4 (diff) |
Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c061606c4db..66dba8c19a5 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) |