diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-29 12:06:26 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-29 12:06:26 -0500 |
commit | cb83f5255b360d64c32c7e45d11d242e104e62f5 (patch) | |
tree | c6611bf95729c4539f53d514d24847d2945408b9 /sigscript/MapTileWrapper.cpp | |
parent | 02d571db3ef9fa2cb73203ef3dc46827ee6960cf (diff) | |
download | sigen-sigmod-checks.tar.gz sigen-sigmod-checks.tar.xz sigen-sigmod-checks.zip |
Added macos for overriding values in sigscriptsigmod-checks
Diffstat (limited to 'sigscript/MapTileWrapper.cpp')
-rw-r--r-- | sigscript/MapTileWrapper.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sigscript/MapTileWrapper.cpp b/sigscript/MapTileWrapper.cpp index 2ca2abbe..2faef412 100644 --- a/sigscript/MapTileWrapper.cpp +++ b/sigscript/MapTileWrapper.cpp @@ -43,14 +43,12 @@ Sigscript::TileWrapper* Sigscript::MapTileWrapper::tile() QPoint Sigscript::MapTileWrapper::position() const { - if (sigmod()->singlePlayer() && hasValueOfType<QPoint>("position")) - return valueOfType<QPoint>("position"); + ALLOW_OVERRIDE_SO(tile, QPoint, position); return m_tile->position(); } int Sigscript::MapTileWrapper::zIndex() const { - if (sigmod()->singlePlayer() && hasValueOfType<int>("zIndex")) - return valueOfType<int>("zIndex"); + ALLOW_OVERRIDE_SO(tile, int, zIndex); return m_tile->zIndex(); } |