Implemented ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION

This commit is contained in:
arrai 2008-11-19 15:02:39 +01:00
parent c0c0c9c776
commit 4f559eb7e6
2 changed files with 11 additions and 1 deletions

View file

@ -5691,7 +5691,7 @@ bool Player::ModifyOneFactionReputation(FactionEntry const* factionEntry, int32
}
}
}
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION);
SendFactionState(&(itr->second));
return true;
@ -5757,6 +5757,7 @@ bool Player::SetOneFactionReputation(FactionEntry const* factionEntry, int32 sta
SetFactionAtWar(&itr->second,true);
SendFactionState(&(itr->second));
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_GAIN_REPUTATION);
return true;
}
return false;