summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-20 11:10:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-20 11:10:06 +0300
commit8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e (patch)
treea0ea78f87d87744d084626666b555842d14752a3 /src/being.cpp
parent81f90959fe5bceb743ec243b8f7243b50e933e05 (diff)
downloadplus-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.gz
plus-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.bz2
plus-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.xz
plus-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.zip
Fix afk particle effect.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index aad803ba2..4f7cd84bb 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2767,7 +2767,10 @@ void Being::addAfkEffect()
void Being::removeAfkEffect()
{
if (effectManager && mAfkParticle)
+ {
mChildParticleEffects.removeLocally(mAfkParticle);
+ mAfkParticle = nullptr;
+ }
}
void Being::updateAwayEffect()