summaryrefslogtreecommitdiff
path: root/src/game-server/mapcomposite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/mapcomposite.h')
-rw-r--r--src/game-server/mapcomposite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game-server/mapcomposite.h b/src/game-server/mapcomposite.h
index 464dfe7c..212d4529 100644
--- a/src/game-server/mapcomposite.h
+++ b/src/game-server/mapcomposite.h
@@ -182,6 +182,12 @@ class MapComposite
void remove(Entity *);
/**
+ * Returns the actor entity matching \a publicID, or null when no such
+ * entity exists.
+ */
+ Entity *findEntityById(int publicId) const;
+
+ /**
* Updates zones of every moving beings.
*/
void update();