Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-04-29 11:35:31 +02:00
parent e45ec85096
commit f7ab90d79d
+2 -2
View File
@@ -7603,8 +7603,8 @@ void Spell::EffectCastButtons(uint32 i)
for (; n_buttons; n_buttons--, button_id++) for (; n_buttons; n_buttons--, button_id++)
{ {
ActionButton const* ab = p_caster->GetActionButton(button_id); ActionButton const* ab = p_caster->GetActionButton(button_id);
if (!ab || ab->GetAction() != ACTION_BUTTON_SPELL) if (!ab || ab->GetType() != ACTION_BUTTON_SPELL)
continue;; continue;
uint32 spell_id = ab->GetAction(); uint32 spell_id = ab->GetAction();
if (!spell_id) if (!spell_id)