aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundIC.cpp
diff options
context:
space:
mode:
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()