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/BattleGroundAB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/BattleGroundAB.cpp') diff --git a/src/game/BattleGroundAB.cpp b/src/game/BattleGroundAB.cpp index 31c30a4275e..38671e85597 100644 --- a/src/game/BattleGroundAB.cpp +++ b/src/game/BattleGroundAB.cpp @@ -683,7 +683,7 @@ WorldSafeLocsEntry const* BattleGroundAB::GetClosestGraveYard(Player* player) return good_entry; } -void BattleGroundAB::UpdatePlayerScore(Player *Source, uint32 type, uint32 value) +void BattleGroundAB::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... @@ -698,7 +698,7 @@ void BattleGroundAB::UpdatePlayerScore(Player *Source, uint32 type, uint32 value ((BattleGroundABScore*)itr->second)->BasesDefended += value; break; default: - BattleGround::UpdatePlayerScore(Source,type,value); + BattleGround::UpdatePlayerScore(Source,type,value, doAddHonor); break; } } -- cgit v1.2.3