summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
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,