diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-20 11:10:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-20 11:10:06 +0300 |
commit | 8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e (patch) | |
tree | a0ea78f87d87744d084626666b555842d14752a3 /src | |
parent | 81f90959fe5bceb743ec243b8f7243b50e933e05 (diff) | |
download | manaverse-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.gz manaverse-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.bz2 manaverse-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.tar.xz manaverse-8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e.zip |
Fix afk particle effect.
Diffstat (limited to 'src')
-rw-r--r-- | src/being.cpp | 3 |
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() |