fixed double honor count error in battleground player list window

--HG--
branch : trunk
This commit is contained in:
Rat
2010-05-17 23:29:13 +02:00
parent 9a631614e3
commit eba819ae79

View File

@@ -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;