Merge pull request #37 from ManGuyNY/master

Fix build
This commit is contained in:
ZhengPeiRu21
2022-11-07 13:18:15 -07:00
committed by GitHub

View File

@@ -114,7 +114,7 @@ public:
void UpdateAI(uint32 diff) override void UpdateAI(uint32 diff) override
{ {
if (!sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE)) if (sWorld->getIntConfig(CONFIG_WINTERGRASP_ENABLE) == 2)
return; return;
ScriptedAI::UpdateAI(diff); ScriptedAI::UpdateAI(diff);
@@ -164,4 +164,4 @@ public:
void AddSC_Ipp_Wotlk_Modded_Scripts() void AddSC_Ipp_Wotlk_Modded_Scripts()
{ {
new npc_wg_queue_ipp(); new npc_wg_queue_ipp();
} }