Core/Achievements: Added missing reset cases for achievement criterias

This commit is contained in:
Shauren
2011-05-14 10:50:27 +02:00
parent bdf43d5a9c
commit 19bf53a0cb
2 changed files with 3 additions and 1 deletions
@@ -1305,7 +1305,6 @@ void Battleground::UpdatePlayerScore(Player* Source, uint32 type, uint32 value,
break;
case SCORE_DEATHS: // Deaths
itr->second->Deaths += value;
Source->GetAchievementMgr().ResetAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE, ACHIEVEMENT_CRITERIA_CONDITION_NO_DEATH);
break;
case SCORE_HONORABLE_KILLS: // Honorable kills
itr->second->HonorableKills += value;