Core/Achievements: Corrected map requirement for Once Bitten, Twice Shy (10 player) - was requiring Ulduar
This commit is contained in:
@@ -2208,7 +2208,6 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
|
|||||||
|
|
||||||
for (uint32 entryId = 0; entryId < sAchievementCriteriaStore.GetNumRows(); ++entryId)
|
for (uint32 entryId = 0; entryId < sAchievementCriteriaStore.GetNumRows(); ++entryId)
|
||||||
{
|
{
|
||||||
|
|
||||||
AchievementCriteriaEntry const* criteria = sAchievementCriteriaStore.LookupEntry(entryId);
|
AchievementCriteriaEntry const* criteria = sAchievementCriteriaStore.LookupEntry(entryId);
|
||||||
if (!criteria)
|
if (!criteria)
|
||||||
continue;
|
continue;
|
||||||
@@ -2239,7 +2238,6 @@ void AchievementGlobalMgr::LoadAchievementReferenceList()
|
|||||||
|
|
||||||
for (uint32 entryId = 0; entryId < sAchievementStore.GetNumRows(); ++entryId)
|
for (uint32 entryId = 0; entryId < sAchievementStore.GetNumRows(); ++entryId)
|
||||||
{
|
{
|
||||||
|
|
||||||
AchievementEntry const* achievement = sAchievementStore.LookupEntry(entryId);
|
AchievementEntry const* achievement = sAchievementStore.LookupEntry(entryId);
|
||||||
if (!achievement || !achievement->refAchievement)
|
if (!achievement || !achievement->refAchievement)
|
||||||
continue;
|
continue;
|
||||||
@@ -2248,6 +2246,10 @@ void AchievementGlobalMgr::LoadAchievementReferenceList()
|
|||||||
++count;
|
++count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Once Bitten, Twice Shy (10 player) - Icecrown Citadel
|
||||||
|
if (AchievementEntry const* achievement = sAchievementStore.LookupEntry(4539))
|
||||||
|
const_cast<AchievementEntry*>(achievement)->mapID = 631; // Correct map requirement (currently has Ulduar)
|
||||||
|
|
||||||
sLog->outString(">> Loaded %u achievement references in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
sLog->outString(">> Loaded %u achievement references in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||||
sLog->outString();
|
sLog->outString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user