aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2010-05-17 23:29:13 +0200
committerRat <none@none>2010-05-17 23:29:13 +0200
commiteba819ae7984edeaeab1e3331884a22481dba52f (patch)
treefed905bcb8f541daf4e8e20db8b914b808abcbeb /src
parent9a631614e38d5b24a7c53fe7f686a96e9abb529a (diff)
fixed double honor count error in battleground player list window
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/BattleGround.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/BattleGround.cpp b/src/game/BattleGround.cpp
index f8b98159462..454c2a1de3d 100644
--- a/src/game/BattleGround.cpp
+++ b/src/game/BattleGround.cpp
@@ -1287,8 +1287,7 @@ void BattleGround::UpdatePlayerScore(Player *Source, uint32 type, uint32 value,
// reward honor instantly
if (doAddHonor)
{
- if (Source->RewardHonor(NULL, 1, value))
- itr->second->BonusHonor += value;
+ Source->RewardHonor(NULL, 1, value);//RewardHonor calls UpdatePlayerScore with doAddHonor = false
}else itr->second->BonusHonor += value;
}
break;