summaryrefslogtreecommitdiff
path: root/src/game-server/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/map.h')
-rw-r--r--src/game-server/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game-server/map.h b/src/game-server/map.h
index 2ade1d75..33663d37 100644
--- a/src/game-server/map.h
+++ b/src/game-server/map.h
@@ -83,6 +83,9 @@ class MapObject
const std::string &getProperty(const std::string &key) const
{ return mProperties.value(key); }
+ bool hasProperty(const std::string &key) const
+ { return mProperties.contains(key); }
+
const std::string &getName() const
{ return mName; }