summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWrapper.cpp')
-rw-r--r--sigscript/MapWrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sigscript/MapWrapper.cpp b/sigscript/MapWrapper.cpp
index b406871e..6ca1872b 100644
--- a/sigscript/MapWrapper.cpp
+++ b/sigscript/MapWrapper.cpp
@@ -19,19 +19,19 @@
#include "MapWrapper.h"
// Sigscript includes
+#include "GameWrapper.h"
#include "MapEffectWrapper.h"
#include "MapTileWrapper.h"
#include "MapTrainerWrapper.h"
#include "MapWarpWrapper.h"
#include "MapWildListWrapper.h"
-#include "SigmodWrapper.h"
// Sigmod includes
#include <sigmod/MapEffect.h>
#include <sigmod/MapTrainer.h>
#include <sigmod/MapWildList.h>
-Sigscript::MapWrapper* Sigscript::MapWrapper::create(const Sigmod::Map* map, SigmodWrapper* parent)
+Sigscript::MapWrapper* Sigscript::MapWrapper::create(const Sigmod::Map* map, GameWrapper* parent)
{
Signature sig = Signature(parent, Subsignature(map->className(), map->id()));
if (!m_instances.contains(sig))
@@ -39,7 +39,7 @@ Sigscript::MapWrapper* Sigscript::MapWrapper::create(const Sigmod::Map* map, Sig
return qobject_cast<MapWrapper*>(m_instances[sig]);
}
-Sigscript::MapWrapper::MapWrapper(const Sigmod::Map* map, SigmodWrapper* parent) :
+Sigscript::MapWrapper::MapWrapper(const Sigmod::Map* map, GameWrapper* parent) :
ObjectWrapper(map, parent),
m_map(map)
{