summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-05-28 22:03:56 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-05-28 22:03:56 -0400
commit327d403983184d90a3b25820bf112dd12c732814 (patch)
tree2a5fd400c744ab1e9e5ceda3650ac623993c1f77 /sigscript/MapWrapper.cpp
parent3fb49947b429e5f6dd7e6e0684d9b545d9442917 (diff)
downloadsigen-327d403983184d90a3b25820bf112dd12c732814.tar.gz
sigen-327d403983184d90a3b25820bf112dd12c732814.tar.xz
sigen-327d403983184d90a3b25820bf112dd12c732814.zip
Add world flag to MapWrapper
Diffstat (limited to 'sigscript/MapWrapper.cpp')
-rw-r--r--sigscript/MapWrapper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sigscript/MapWrapper.cpp b/sigscript/MapWrapper.cpp
index beca24cb..a4d39586 100644
--- a/sigscript/MapWrapper.cpp
+++ b/sigscript/MapWrapper.cpp
@@ -88,6 +88,11 @@ int MapWrapper::height() const
return m_map->height();
}
+bool MapWrapper::isWorld() const
+{
+ return m_map->isWorld();
+}
+
MapEffectWrapper* MapWrapper::effect(const QString& name)
{
for (int i = 0; i < m_map->effectCount(); ++i)