diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-23 02:14:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-23 02:14:30 +0300 |
commit | 6a65a4cf5b6b10839254c0c5846ec2dbfea882f8 (patch) | |
tree | cdf1dcc071ab18575defff569d33f3cbc8be0348 /src/actormanager.h | |
parent | 1a5f8957c707625efbcf36722b057d5eda5a21bb (diff) | |
download | manaverse-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.gz manaverse-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.bz2 manaverse-6a65a4cf5b6b10839254c0c5846ec2dbfea882f8.tar.xz manaverse-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.h | 2 |
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. */ |