From d7e4799728216eaa2f91e5427f9e79644814ef36 Mon Sep 17 00:00:00 2001 From: talamortis Date: Sat, 31 Mar 2018 19:46:28 +0100 Subject: [PATCH] removed unused code - fix Travis --- .../EasternKingdoms/Deadmines/instance_deadmines.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp b/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp index 5c8c643f6..3639208ba 100644 --- a/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp +++ b/src/server/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp @@ -22,20 +22,11 @@ class instance_deadmines : public InstanceMapScript memset(&_encounters, 0, sizeof(_encounters)); } - uint64 GetData64(uint32 data) const override - { - switch (data) - { - GO_FACTORY_DOOR: return DATA_FACTORY_DOORGUID; - } - } - void OnGameObjectCreate(GameObject* gameobject) { switch (gameobject->GetEntry()) { case GO_FACTORY_DOOR: - DATA_FACTORY_DOORGUID = gameobject->GetGUID(); if (_encounters[TYPE_RHAHK_ZOR] == DONE) gameobject->SetGoState(GO_STATE_ACTIVE); break; @@ -88,7 +79,6 @@ class instance_deadmines : public InstanceMapScript private: uint32 _encounters[MAX_ENCOUNTERS]; - uint64 DATA_FACTORY_DOORGUID; }; InstanceScript* GetInstanceScript(InstanceMap* map) const