summaryrefslogtreecommitdiffstats
path: root/sigscript/MapWrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapWrapper.cpp')
-rw-r--r--sigscript/MapWrapper.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/sigscript/MapWrapper.cpp b/sigscript/MapWrapper.cpp
index a016f635..beca24cb 100644
--- a/sigscript/MapWrapper.cpp
+++ b/sigscript/MapWrapper.cpp
@@ -73,27 +73,11 @@ MapWildListWrapper* MapWrapper::wildList(const int id)
return MapWildListWrapper::create(m_map->wildListById(id), this);
}
-Map::Type MapWrapper::type(const QString& name) const
-{
- if (name == "Outdoor")
- return Map::Outdoor;
- else if (name == "Dungeon")
- return Map::Dungeon;
- else if (name == "Building")
- return Map::Building;
- return QVariant(-1).value<Map::Type>();
-}
-
QString MapWrapper::name() const
{
return m_map->name();
}
-Map::Type MapWrapper::type() const
-{
- return m_map->type();
-}
-
int MapWrapper::width() const
{
return m_map->width();