mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
small fix, thx darone
This commit is contained in:
@@ -73,6 +73,6 @@ void AnimatedTexture::processAnimation()
|
||||
AnimatedTexturePtr self = asAnimatedTexture();
|
||||
|
||||
// continue to animate only if something still referencing this texture
|
||||
if(self.use_count() > 1)
|
||||
if(self.use_count() > 2)
|
||||
g_dispatcher.scheduleEvent(std::bind(&AnimatedTexture::processAnimation, self), m_framesDelay[m_currentFrame]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user