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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game-server/mapcomposite.h b/src/game-server/mapcomposite.h
index d61f8ce6..ba76ddc8 100644
--- a/src/game-server/mapcomposite.h
+++ b/src/game-server/mapcomposite.h
@@ -27,6 +27,7 @@
#include <map>
#include "scripting/script.h"
+#include "game-server/map.h"
class Actor;
class Being;
@@ -361,6 +362,9 @@ class MapComposite
static void setUpdateCallback(Script *script)
{ script->assignCallback(mUpdateCallback); }
+ const MapObject *findMapObject(const std::string &name,
+ const std::string &type) const;
+
private:
MapComposite(const MapComposite &);