summaryrefslogtreecommitdiff
path: root/src/beingmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/beingmanager.h')
-rw-r--r--src/beingmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/beingmanager.h b/src/beingmanager.h
index 1d9cc459..00575041 100644
--- a/src/beingmanager.h
+++ b/src/beingmanager.h
@@ -76,9 +76,11 @@ class BeingManager
* @param maxTileDist Maximal distance in tiles. If minimal distance is
* larger, no being is returned.
* @param type The type of being to look for.
+ * @param excluded The being to exclude from the search.
*/
Being *findNearestLivingBeing(int x, int y, int maxTileDist,
- ActorSprite::Type type = Being::UNKNOWN) const;
+ ActorSprite::Type type = Being::UNKNOWN,
+ Being *excluded = 0) const;
/**
* Returns a being nearest to another being.
@@ -89,7 +91,7 @@ class BeingManager
* @param type The type of being to look for.
*/
Being *findNearestLivingBeing(Being *aroundBeing, int maxTileDist,
- ActorSprite::Type type = Being::UNKNOWN) const;
+ ActorSprite::Type type = Being::UNKNOWN) const;
/**
* Finds a being by name and (optionally) by type.