mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix build (#343)
This commit is contained in:
@@ -14,6 +14,9 @@
|
|||||||
#include "InstanceData.h"
|
#include "InstanceData.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef TRINITY
|
||||||
|
#include "Map.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This class is a small wrapper around `InstanceData`,
|
* This class is a small wrapper around `InstanceData`,
|
||||||
@@ -61,9 +64,15 @@ private:
|
|||||||
std::string lastSaveData;
|
std::string lastSaveData;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
#ifdef TRINITY
|
||||||
|
ElunaInstanceAI(Map* map) : InstanceData(map->ToInstanceMap())
|
||||||
|
{
|
||||||
|
}
|
||||||
|
#else
|
||||||
ElunaInstanceAI(Map* map) : InstanceData(map)
|
ElunaInstanceAI(Map* map) : InstanceData(map)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef TRINITY
|
#ifndef TRINITY
|
||||||
void Initialize() override;
|
void Initialize() override;
|
||||||
|
|||||||
Reference in New Issue
Block a user