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
+1 -2
View File
@@ -1287,8 +1287,7 @@ void BattleGround::UpdatePlayerScore(Player *Source, uint32 type, uint32 value,
// reward honor instantly // reward honor instantly
if (doAddHonor) if (doAddHonor)
{ {
if (Source->RewardHonor(NULL, 1, value)) Source->RewardHonor(NULL, 1, value);//RewardHonor calls UpdatePlayerScore with doAddHonor = false
itr->second->BonusHonor += value;
}else itr->second->BonusHonor += value; }else itr->second->BonusHonor += value;
} }
break; break;