Fix Shaman totem bars and Call of the Elements/Spirits/Ancestors
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user