From 5d7077bf48432df6753e19ecd9abc88e15ee4aa2 Mon Sep 17 00:00:00 2001 From: ManGuyNY <115581060+ManGuyNY@users.noreply.github.com> Date: Sat, 5 Nov 2022 20:39:35 -0400 Subject: [PATCH] Fix build Fix build after https://github.com/azerothcore/azerothcore-wotlk/commit/5a7822282f2e96304892376343e5f8f5c9334d8f --- src/wotlkScripts/IppWotlkModdedScripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wotlkScripts/IppWotlkModdedScripts.cpp b/src/wotlkScripts/IppWotlkModdedScripts.cpp index 8366c12..3f92d69 100644 --- a/src/wotlkScripts/IppWotlkModdedScripts.cpp +++ b/src/wotlkScripts/IppWotlkModdedScripts.cpp @@ -114,7 +114,7 @@ public: void UpdateAI(uint32 diff) override { - if (!sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE)) + if (sWorld->getIntConfig(CONFIG_WINTERGRASP_ENABLE) == 2) return; ScriptedAI::UpdateAI(diff); @@ -164,4 +164,4 @@ public: void AddSC_Ipp_Wotlk_Modded_Scripts() { new npc_wg_queue_ipp(); -} \ No newline at end of file +}