From b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 24 Feb 2009 16:18:17 -0500 Subject: Moved SigmodWrapper to GameWrapper --- sigscript/MapWarpWrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sigscript/MapWarpWrapper.cpp') 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 -- cgit