mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11983] Fix log output for loaded achievement_criterias
Thanks to TuX for spotting this error Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
ab9b37bf3b
commit
99986d7881
2 changed files with 4 additions and 2 deletions
|
|
@ -2262,6 +2262,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
|
|||
return;
|
||||
}
|
||||
|
||||
uint32 count = 0;
|
||||
BarGoLink bar(sAchievementCriteriaStore.GetNumRows());
|
||||
for (uint32 entryId = 0; entryId < sAchievementCriteriaStore.GetNumRows(); ++entryId)
|
||||
{
|
||||
|
|
@ -2284,10 +2285,11 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
|
|||
|
||||
m_AchievementCriteriasByType[criteria->requiredType].push_back(criteria);
|
||||
m_AchievementCriteriaListByAchievement[criteria->referredAchievement].push_back(criteria);
|
||||
++count;
|
||||
}
|
||||
|
||||
sLog.outString();
|
||||
sLog.outString(">> Loaded %lu achievement criteria.",(unsigned long)m_AchievementCriteriasByType->size());
|
||||
sLog.outString(">> Loaded %u achievement criteria.", count);
|
||||
}
|
||||
|
||||
void AchievementGlobalMgr::LoadAchievementReferenceList()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11982"
|
||||
#define REVISION_NR "11983"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue