summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWrapper.cpp
diff options
context:
space:
mode:
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)