Build fix

This commit is contained in:
Shauren
2015-05-16 17:56:15 +02:00
parent a2d540a062
commit 2678c52b1f
+2 -2
View File
@@ -2923,7 +2923,7 @@ void Spell::EffectTaunt(SpellEffIndex /*effIndex*/)
unitTarget->ToCreature()->AI()->AttackStart(m_caster);
}
void Spell::EffectWeaponDmg(SpellEffIndex /*effIndex*/)
void Spell::EffectWeaponDmg(SpellEffIndex effIndex)
{
if (effectHandleMode != SPELL_EFFECT_HANDLE_LAUNCH_TARGET)
return;
@@ -2934,7 +2934,7 @@ void Spell::EffectWeaponDmg(SpellEffIndex /*effIndex*/)
// multiple weapon dmg effect workaround
// execute only the last weapon damage
// and handle all effects at once
for (uint8 index = effIndex + 1; index < MAX_SPELL_EFFECTS; index++)
for (uint8 index = effIndex + 1; index < MAX_SPELL_EFFECTS; ++index)
{
SpellEffectInfo const* effect = GetEffect(index);
if (!effect)