diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 16:18:17 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 16:18:17 -0500 |
| commit | b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67 (patch) | |
| tree | 01971661209ccb6d6844a096a5ea3d39baeabe68 /sigscript/MapWarpWrapper.cpp | |
| parent | b6d07f0ca14256a42268e69190891c56bf978bd4 (diff) | |
| download | sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.gz sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.tar.xz sigen-b28b0cb3d52336f77b7ad8b313b3d6fd6b7d0e67.zip | |
Moved SigmodWrapper to GameWrapper
Diffstat (limited to 'sigscript/MapWarpWrapper.cpp')
| -rw-r--r-- | sigscript/MapWarpWrapper.cpp | 4 |
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 |
