From 62977e64083d48cfeb7bc80ae9158d8fc344d829 Mon Sep 17 00:00:00 2001 From: talamortis Date: Thu, 15 Mar 2018 13:08:02 +0000 Subject: [PATCH] if players now wipe the door will Reset. --- .../scripts/Northrend/Naxxramas/boss_maexxna.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp index 6d722d1ee..19359d5f9 100644 --- a/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp +++ b/src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp @@ -1,4 +1,4 @@ -/* +/* * Originally written by Xinef - Copyright (C) 2016+ AzerothCore , released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 */ @@ -80,13 +80,9 @@ public: BossAI::Reset(); events.Reset(); summons.DespawnAll(); - - if (pInstance) - { - if (pInstance->GetData(BOSS_FAERLINA) == DONE) - if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetData64(DATA_MAEXXNA_GATE))) - go->SetGoState(GO_STATE_ACTIVE); - } + if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetData64(DATA_MAEXXNA_GATE))) + go->SetGoState(GO_STATE_ACTIVE); + } void EnterCombat(Unit * who)