summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-13 23:09:44 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-13 23:09:44 +0300
commit1c7c54e8102f1f449ffe7dfaa3a041915079d290 (patch)
tree3da90ea7e18d4c4a6fe2f0eb4c76718dc3e489f5 /src/actormanager.h
parent467455bf7907411918d8fb6f4113eb95df443a29 (diff)
downloadManaVerse-1c7c54e8102f1f449ffe7dfaa3a041915079d290.tar.gz
ManaVerse-1c7c54e8102f1f449ffe7dfaa3a041915079d290.tar.bz2
ManaVerse-1c7c54e8102f1f449ffe7dfaa3a041915079d290.tar.xz
ManaVerse-1c7c54e8102f1f449ffe7dfaa3a041915079d290.zip
fix code style.
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.