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"
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user