Fix build (#343)

This commit is contained in:
Rochet2
2020-12-25 00:29:45 +02:00
committed by GitHub
parent 6d7ab9c35e
commit 5e6226e096

View File

@@ -14,6 +14,9 @@
#include "InstanceData.h"
#endif
#ifdef TRINITY
#include "Map.h"
#endif
/*
* This class is a small wrapper around `InstanceData`,
@@ -61,9 +64,15 @@ private:
std::string lastSaveData;
public:
#ifdef TRINITY
ElunaInstanceAI(Map* map) : InstanceData(map->ToInstanceMap())
{
}
#else
ElunaInstanceAI(Map* map) : InstanceData(map)
{
}
#endif
#ifndef TRINITY
void Initialize() override;