summaryrefslogtreecommitdiff
path: root/src/actormanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-23 02:14:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-23 02:14:30 +0300
commit6a65a4cf5b6b10839254c0c5846ec2dbfea882f8 (patch)
treecdf1dcc071ab18575defff569d33f3cbc8be0348 /src/actormanager.h
parent1a5f8957c707625efbcf36722b057d5eda5a21bb (diff)
downloadmanaplus-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.gz
manaplus-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.bz2
manaplus-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.xz
manaplus-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.zip
Allow delete untracker being particle effects.
This fix some possible memory leaks.
Diffstat (limited to 'src/actormanager.h')
-rw-r--r--src/actormanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/actormanager.h b/src/actormanager.h
index 7ab4b1d67..ad53ff729 100644
--- a/src/actormanager.h
+++ b/src/actormanager.h
@@ -124,6 +124,8 @@ class ActorManager final: public ConfigListener
*/
Being *findBeing(const BeingId id) const A_WARN_UNUSED;
+ ActorSprite *findActor(const BeingId id) const A_WARN_UNUSED;
+
/**
* Returns a being at specific coordinates.
*/