summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-08 00:30:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-08 00:30:16 +0300
commit5d78828e2970841d908c6fc2f8595f1606137154 (patch)
treec59084c09f31ce80a9662255ed1b775c3e416052 /src/being
parentea407dcf7f05a00224a1e3fdabf1273a4a60b0df (diff)
downloadmanaplus-5d78828e2970841d908c6fc2f8595f1606137154.tar.gz
manaplus-5d78828e2970841d908c6fc2f8595f1606137154.tar.bz2
manaplus-5d78828e2970841d908c6fc2f8595f1606137154.tar.xz
manaplus-5d78828e2970841d908c6fc2f8595f1606137154.zip
Fix particles counter in being popup.evolrelease2016-08-07
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index c06f1c983..5373b30dc 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -191,7 +191,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
size_t getParticlesCount() const
{
- return mStatusParticleEffects.size() +
+ return mStatusParticleEffects.usedSize() +
mChildParticleEffects.size();
}