removed unused code - fix Travis

This commit is contained in:
talamortis
2018-03-31 19:46:28 +01:00
parent a6e10f2ab2
commit d7e4799728

View File

@@ -22,20 +22,11 @@ class instance_deadmines : public InstanceMapScript
memset(&_encounters, 0, sizeof(_encounters)); memset(&_encounters, 0, sizeof(_encounters));
} }
uint64 GetData64(uint32 data) const override
{
switch (data)
{
GO_FACTORY_DOOR: return DATA_FACTORY_DOORGUID;
}
}
void OnGameObjectCreate(GameObject* gameobject) void OnGameObjectCreate(GameObject* gameobject)
{ {
switch (gameobject->GetEntry()) switch (gameobject->GetEntry())
{ {
case GO_FACTORY_DOOR: case GO_FACTORY_DOOR:
DATA_FACTORY_DOORGUID = gameobject->GetGUID();
if (_encounters[TYPE_RHAHK_ZOR] == DONE) if (_encounters[TYPE_RHAHK_ZOR] == DONE)
gameobject->SetGoState(GO_STATE_ACTIVE); gameobject->SetGoState(GO_STATE_ACTIVE);
break; break;
@@ -88,7 +79,6 @@ class instance_deadmines : public InstanceMapScript
private: private:
uint32 _encounters[MAX_ENCOUNTERS]; uint32 _encounters[MAX_ENCOUNTERS];
uint64 DATA_FACTORY_DOORGUID;
}; };
InstanceScript* GetInstanceScript(InstanceMap* map) const InstanceScript* GetInstanceScript(InstanceMap* map) const