Implemented ACHIEVEMENT_CRITERIA_TYPE_EXPLORE_AREA

This commit is contained in:
arrai 2008-11-28 23:51:55 +01:00
parent 82898a7922
commit 333146baaf
2 changed files with 24 additions and 0 deletions

View file

@ -5318,6 +5318,8 @@ void Player::CheckExploreSystem()
{
SetUInt32Value(PLAYER_EXPLORED_ZONES_1 + offset, (uint32)(currFields | val));
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_EXPLORE_AREA);
AreaTableEntry const *p = GetAreaEntryByAreaFlagAndMap(areaFlag,GetMapId());
if(!p)
{