diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-29 12:09:27 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-29 12:09:27 -0500 |
| commit | 8e278873d4bd35a7cd7f3b6d9d7852fa422370b8 (patch) | |
| tree | 9e97b71d30779c07c79ca166e1d704a3de4d5e4f /sigscript/TileWrapper.cpp | |
| parent | e801b73a2f9cb845913cf546002c8f50eefc473c (diff) | |
| download | sigen-8e278873d4bd35a7cd7f3b6d9d7852fa422370b8.tar.gz sigen-8e278873d4bd35a7cd7f3b6d9d7852fa422370b8.tar.xz sigen-8e278873d4bd35a7cd7f3b6d9d7852fa422370b8.zip | |
Merged CHECK macro branch
Diffstat (limited to 'sigscript/TileWrapper.cpp')
| -rw-r--r-- | sigscript/TileWrapper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sigscript/TileWrapper.cpp b/sigscript/TileWrapper.cpp index 2674caa8..5d7b5a55 100644 --- a/sigscript/TileWrapper.cpp +++ b/sigscript/TileWrapper.cpp @@ -42,8 +42,7 @@ QString Sigscript::TileWrapper::name() const bool Sigscript::TileWrapper::walkable() const { - if (sigmod()->singlePlayer() && hasValueOfType<bool>("walkable")) - return valueOfType<bool>("walkable"); + ALLOW_OVERRIDE_SO(tile, bool, walkable); return m_tile->walkable(); } |
