summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index 00be468a1..a44e3fc79 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -25,10 +25,11 @@
#include "flooritem.h"
-#include "being/being.h"
+#include "listeners/configlistener.h"
#include "localconsts.h"
+class Being;
class LocalPlayer;
class Map;
@@ -161,8 +162,8 @@ class ActorManager final: public ConfigListener
* Finds a nearest being by name and (optionally) by type.
*/
Being *findNearestByName(const std::string &name,
- const ActorType::Type &type = ActorType::UNKNOWN)
- const A_WARN_UNUSED;
+ const ActorType::Type &type
+ = ActorType::UNKNOWN) const A_WARN_UNUSED;
/**
* Heal all players in distance.