aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundIC.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/BattleGroundIC.cpp
parent47b32302f1ab40255c63da57ee2129b945c3765e (diff)
display honor gained from kills in bg score window
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundIC.cpp')
-rw-r--r--src/game/BattleGroundIC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/BattleGroundIC.cpp b/src/game/BattleGroundIC.cpp
index 3d8cd76e459..8dbcc81e5c6 100644
--- a/src/game/BattleGroundIC.cpp
+++ b/src/game/BattleGroundIC.cpp
@@ -71,7 +71,7 @@ void BattleGroundIC::HandleAreaTrigger(Player * /*Source*/, uint32 /*Trigger*/)
return;
}
-void BattleGroundIC::UpdatePlayerScore(Player* Source, uint32 type, uint32 value)
+void BattleGroundIC::UpdatePlayerScore(Player* Source, uint32 type, uint32 value, bool doAddHonor)
{
std::map<uint64, BattleGroundScore*>::iterator itr = m_PlayerScores.find(Source->GetGUID());
@@ -79,7 +79,7 @@ void BattleGroundIC::UpdatePlayerScore(Player* Source, uint32 type, uint32 value
if (itr == m_PlayerScores.end()) // player not found...
return;
- BattleGround::UpdatePlayerScore(Source,type,value);
+ BattleGround::UpdatePlayerScore(Source,type,value, doAddHonor);
}
bool BattleGroundIC::SetupBattleGround()