mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
fixed double honor count error in battleground player list window
--HG-- branch : trunk
This commit is contained in:
@@ -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