fixed double honor count error in battleground player list window
--HG-- branch : trunk
This commit is contained in:
1 parent
9a631614e3
commit
eba819ae79
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user