From 88d103b57f5cf44d9b98f927a814637897febaa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BD=A9=E8=8C=B9?= Date: Mon, 13 Feb 2023 13:01:35 -0700 Subject: [PATCH] Fix Naxx40 access --- src/IndividualProgression.h | 1 + src/IndividualProgressionPlayer.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IndividualProgression.h b/src/IndividualProgression.h index 161fe4e..c5ef695 100644 --- a/src/IndividualProgression.h +++ b/src/IndividualProgression.h @@ -63,6 +63,7 @@ enum ProgressionMaps MAP_AQ_20 = 509, MAP_AQ_40 = 531, MAP_OUTLANDS = 530, + MAP_NAXXRAMAS = 533, MAP_ZUL_AMAN = 568, MAP_NORTHREND = 571, MAP_ULDUAR = 603, diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index 293fc9f..ce6a8e2 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -205,7 +205,7 @@ public: { return false; } - if (instanceTemplate->Parent == MAP_NORTHREND && !sIndividualProgression->hasPassedProgression(player, PROGRESSION_TBC_TIER_5)) + if (instanceTemplate->Parent == MAP_NORTHREND && mapid != MAP_NAXXRAMAS && !sIndividualProgression->hasPassedProgression(player, PROGRESSION_TBC_TIER_5)) { return false; }