summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWarpWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWarpWrapper.cpp')
-rw-r--r--sigscript/MapWarpWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigscript/MapWarpWrapper.cpp b/sigscript/MapWarpWrapper.cpp
index 70547608..98463e5d 100644
--- a/sigscript/MapWarpWrapper.cpp
+++ b/sigscript/MapWarpWrapper.cpp
@@ -19,8 +19,8 @@
#include "MapWarpWrapper.h"
// Sigscript includes
+#include "GameWrapper.h"
#include "MapWrapper.h"
-#include "SigmodWrapper.h"
Sigscript::MapWarpWrapper* Sigscript::MapWarpWrapper::create(const Sigmod::MapWarp* warp, MapWrapper* parent)
{
@@ -67,7 +67,7 @@ Sigmod::MapWarp::Type Sigscript::MapWarpWrapper::type() const
Sigscript::MapWarpWrapper* Sigscript::MapWarpWrapper::toWarp()
{
- return sigmod()->map(m_warp->toMap())->warp(m_warp->toWarp());
+ return game()->map(m_warp->toMap())->warp(m_warp->toWarp());
}
Sigcore::Script Sigscript::MapWarpWrapper::script() const