From 8f084d39f4a5d83cf4ebbea20872b5fc6a141d2e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 20 Feb 2013 11:10:06 +0300 Subject: Fix afk particle effect. --- src/being.cpp | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v1.2.3-60-g2f50