mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 13:37:07 +00:00
[9118] Fixed problem with not set AchievementCriteriaRequirementSet::criteria_id
This important for support ACHIEVEMENT_CRITERIA_REQUIRE_INSTANCE_SCRIPT Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
17c0ea7020
commit
0b3cf7883e
3 changed files with 3 additions and 2 deletions
|
|
@ -1912,6 +1912,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaRequirements()
|
|||
|
||||
// this will allocate empty data set storage
|
||||
AchievementCriteriaRequirementSet& dataSet = m_criteriaRequirementMap[criteria_id];
|
||||
dataSet.SetCriteriaId(criteria_id);
|
||||
|
||||
// counting disable criteria requirements
|
||||
if (data.requirementType == ACHIEVEMENT_CRITERIA_REQUIRE_DISABLED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue