From 9a631614e38d5b24a7c53fe7f686a96e9abb529a Mon Sep 17 00:00:00 2001 From: Rat Date: Mon, 17 May 2010 17:10:24 +0200 Subject: display honor gained from kills in bg score window --HG-- branch : trunk --- src/game/BattleGroundEY.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/BattleGroundEY.cpp') diff --git a/src/game/BattleGroundEY.cpp b/src/game/BattleGroundEY.cpp index f0e6eadab42..20f023e4c2a 100644 --- a/src/game/BattleGroundEY.cpp +++ b/src/game/BattleGroundEY.cpp @@ -807,7 +807,7 @@ void BattleGroundEY::EventPlayerCapturedFlag(Player *Source, uint32 BgObjectType UpdatePlayerScore(Source, SCORE_FLAG_CAPTURES, 1); } -void BattleGroundEY::UpdatePlayerScore(Player *Source, uint32 type, uint32 value) +void BattleGroundEY::UpdatePlayerScore(Player *Source, uint32 type, uint32 value, bool doAddHonor) { BattleGroundScoreMap::iterator itr = m_PlayerScores.find(Source->GetGUID()); if (itr == m_PlayerScores.end()) // player not found @@ -819,7 +819,7 @@ void BattleGroundEY::UpdatePlayerScore(Player *Source, uint32 type, uint32 value ((BattleGroundEYScore*)itr->second)->FlagCaptures += value; break; default: - BattleGround::UpdatePlayerScore(Source, type, value); + BattleGround::UpdatePlayerScore(Source, type, value, doAddHonor); break; } } -- cgit v1.2.3