aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-13 10:20:28 +0100
committerthenecromancer <none@none>2010-01-13 10:20:28 +0100
commita4cb03d9cd5362769935001614236437e0d0e9ca (patch)
tree7f218c832e4cf785f2cde6004443afc6d3d0ef43 /src
parent8dd67e8bb31ef3740fcff936eb65223072a52729 (diff)
Remove unexpected arg, sorry for that
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 9213d6e092f..aa7295ca7e6 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4578,7 +4578,7 @@ void Spell::SpellDamageWeaponDmg(uint32 i)
{
// Kill Shot - bonus damage from Ranged Attack Power
if(m_spellInfo->SpellFamilyFlags[1] & 0x800000)
- spell_bonus += int32(0.4f*m_caster->GetTotalAttackPowerValue(RANGED_ATTACK, unitTarget));
+ spell_bonus += int32(0.4f*m_caster->GetTotalAttackPowerValue(RANGED_ATTACK));
break;
}
case SPELLFAMILY_DEATHKNIGHT: