summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-04-01 01:44:40 +0200
committerFedja Beader <fedja@protonmail.ch>2025-04-01 01:44:53 +0200
commita11164c1185e649fcb055a27ab3c159b129f124d (patch)
treea63f8958338d1b52f88491a82685d4bee978cb15
parent6d603a800498a8e8699b80883be20df7366a95be (diff)
downloadmanaplus-a11164c1185e649fcb055a27ab3c159b129f124d.tar.gz
manaplus-a11164c1185e649fcb055a27ab3c159b129f124d.tar.bz2
manaplus-a11164c1185e649fcb055a27ab3c159b129f124d.tar.xz
manaplus-a11164c1185e649fcb055a27ab3c159b129f124d.zip
More docs for validateBeing
-rw-r--r--src/actormanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index b912252a9..15841f61d 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -399,9 +399,13 @@ class ActorManager final : public ConfigListener
*
* @param aroundBeing being must not equal this one
* @param being being under scrutiny. Nullptr check performed
+ * it must be alive unless a player and
+ * mTargetDeadPlayers is true.
* @param type pass ActorType::Unknown if no matching desired
* @param exluded being must not equal this one
* @param maxCost allowed max pathfinder distance, if applicable
+ * (only if being is a monster and
+ * mTargetOnlyReachable is true)
*/
bool validateBeing(const Being *const aroundBeing,
Being *const being,