[9261] Clarify two error messages related to achievement criteria data

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-01-27 16:03:15 +01:00
parent 7239d4aee7
commit c52331d680
2 changed files with 4 additions and 4 deletions

View file

@ -1911,7 +1911,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaRequirements()
if (!criteria)
{
sLog.outErrorDb( "Table `achievement_criteria_requirement` have data for not existed criteria (Entry: %u), ignore.", criteria_id);
sLog.outErrorDb( "Table `achievement_criteria_requirement`.`criteria_id` %u does not exist, ignoring.", criteria_id);
continue;
}
@ -2001,8 +2001,8 @@ void AchievementGlobalMgr::LoadAchievementCriteriaRequirements()
continue;
}
if(!GetCriteriaRequirementSet(criteria))
sLog.outErrorDb( "Table `achievement_criteria_requirement` not have expected data for criteria (Entry: %u Type: %u) for achievement %u.", criteria->ID, criteria->requiredType, criteria->referredAchievement);
if (!GetCriteriaRequirementSet(criteria))
sLog.outErrorDb("Table `achievement_criteria_requirement` is missing expected data for `criteria_id` %u (type: %u) for achievement %u.", criteria->ID, criteria->requiredType, criteria->referredAchievement);
}
sLog.outString();

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9260"
#define REVISION_NR "9261"
#endif // __REVISION_NR_H__