aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundWS.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-05-17 17:10:24 +0200
committerRat <none@none>2010-05-17 17:10:24 +0200
commit9a631614e38d5b24a7c53fe7f686a96e9abb529a (patch)
treed27ca41cdee96804db9111536aa3e79faf317a1e /src/game/BattleGroundWS.cpp
parent47b32302f1ab40255c63da57ee2129b945c3765e (diff)
display honor gained from kills in bg score window
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundWS.cpp')
-rw-r--r--src/game/BattleGroundWS.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGroundWS.cpp b/src/game/BattleGroundWS.cpp
index 71134149618..71872511274 100644
--- a/src/game/BattleGroundWS.cpp
+++ b/src/game/BattleGroundWS.cpp
@@ -754,7 +754,7 @@ void BattleGroundWS::HandleKillPlayer(Player *player, Player *killer)
BattleGround::HandleKillPlayer(player, killer);
}
-void BattleGroundWS::UpdatePlayerScore(Player *Source, uint32 type, uint32 value)
+void BattleGroundWS::UpdatePlayerScore(Player *Source, uint32 type, uint32 value, bool doAddHonor)
{
BattleGroundScoreMap::iterator itr = m_PlayerScores.find(Source->GetGUID());
@@ -770,7 +770,7 @@ void BattleGroundWS::UpdatePlayerScore(Player *Source, uint32 type, uint32 value
((BattleGroundWGScore*)itr->second)->FlagReturns += value;
break;
default:
- BattleGround::UpdatePlayerScore(Source, type, value);
+ BattleGround::UpdatePlayerScore(Source, type, value, doAddHonor);
break;
}
}