summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorJoseph Botosh <rumly111@gmail.com>2015-08-19 01:54:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 19:04:36 +0300
commitf23abf81cd21907117bf4edf0d814d8bef950e13 (patch)
tree209a9b308a0aebfd26ee7d2aa963a82f1994a1fb /src/actormanager.h
parent2b0936e4eafee4da5e2ff3c0a7b7fd0df8a9f5c4 (diff)
downloadmv-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.gz
mv-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.bz2
mv-f23abf81cd21907117bf4edf0d814d8bef950e13.tar.xz
mv-f23abf81cd21907117bf4edf0d814d8bef950e13.zip
/atkhuman now checks teamId and map pvp flag
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index e4689bbf2..52aa3dfc8 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -193,6 +193,12 @@ class ActorManager final: public ConfigListener
const A_WARN_UNUSED;
/**
+ * Finds the nearest player who has PVP on,
+ * or just the nearest player if map pvp is on
+ */
+ Being *findNearestPvpPlayer() const A_WARN_UNUSED;
+
+ /**
* Heal all players in distance.
*
* \param maxdist maximal distance. If minimal distance is larger,