diff options
author | n0n4m3 <none@none> | 2009-12-20 17:39:36 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-20 17:39:36 +0100 |
commit | cc19e731742420615bc7c68144b100b07298fad0 (patch) | |
tree | f382525179450cb425c4ad9cf3d6444a4cee1f93 /src/game/SpellEffects.cpp | |
parent | 851a514f90355d00661b2fd60853ed4623b4b26a (diff) | |
parent | a85544cb9c51e412169afe82a63cec602f71b1bd (diff) |
Merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c037eb9160d..c738fcc13ef 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3960,7 +3960,7 @@ void Spell::EffectAddHonor(uint32 /*i*/) // do not allow to add too many honor for player (50 * 21) = 1040 at level 70, or (50 * 31) = 1550 at level 80 if (damage <= 50) { - uint32 honor_reward = MaNGOS::Honor::hk_honor_at_level(unitTarget->getLevel(), damage); + uint32 honor_reward = Trinity::Honor::hk_honor_at_level(unitTarget->getLevel(), damage); ((Player*)unitTarget)->RewardHonor(NULL, 1, honor_reward); sLog.outDebug("SpellEffect::AddHonor (spell_id %u) rewards %u honor points (scale) to player: %u", m_spellInfo->Id, honor_reward, ((Player*)unitTarget)->GetGUIDLow()); } |