diff options
author | Joseph Botosh <rumly111@gmail.com> | 2015-08-19 01:54:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-20 19:04:36 +0300 |
commit | f23abf81cd21907117bf4edf0d814d8bef950e13 (patch) | |
tree | 209a9b308a0aebfd26ee7d2aa963a82f1994a1fb /src/resources | |
parent | 2b0936e4eafee4da5e2ff3c0a7b7fd0df8a9f5c4 (diff) | |
download | manaplus-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.gz manaplus-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.bz2 manaplus-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.xz manaplus-f23abf81cd21907117bf4edf0d814d8bef950e13.zip |
/atkhuman now checks teamId and map pvp flag
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/map/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map/map.h b/src/resources/map/map.h index ea083bd99..33b819c04 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -276,6 +276,9 @@ class Map final : public Properties, public ConfigListener void setPvpMode(const int mode); + int getPvpMode() const A_WARN_UNUSED + { return mPvp; } + const ObjectsLayer* getObjectsLayer() const A_WARN_UNUSED { return mObjects; } |