From 000dcd8064d60f9f34077ca0a1731af4b8773b52 Mon Sep 17 00:00:00 2001 From: Przemysław Grzywacz Date: Fri, 10 May 2013 13:56:52 +0200 Subject: Partial rewrite and improvements of Warp object --- src/game-server/map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game-server/map.h') 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; } -- cgit v1.2.3-60-g2f50