Build fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user