summaryrefslogtreecommitdiff
path: root/src/game-server/map.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-05-10 15:51:14 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-05-10 15:51:14 +0200
commit598f79c6dd78be5c0ca684c19172f3b9d3420a44 (patch)
treed5727018585de90709da7d4e22bc6d6199a48ce1 /src/game-server/map.h
parented8fba0a47d2e498267cbfbf1271bacb76c400e9 (diff)
parent000dcd8064d60f9f34077ca0a1731af4b8773b52 (diff)
downloadmanaserv-598f79c6dd78be5c0ca684c19172f3b9d3420a44.tar.gz
manaserv-598f79c6dd78be5c0ca684c19172f3b9d3420a44.tar.bz2
manaserv-598f79c6dd78be5c0ca684c19172f3b9d3420a44.tar.xz
manaserv-598f79c6dd78be5c0ca684c19172f3b9d3420a44.zip
Merge branch 'master' into lpc2012lpc2012
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; }