just fixes

* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
This commit is contained in:
Eduardo Bart
2012-03-19 14:54:47 -03:00
parent 4bac617fd9
commit f62f507813
9 changed files with 39 additions and 10 deletions

View File

@@ -70,6 +70,6 @@ void AnimatedTexture::processAnimation()
AnimatedTexturePtr self = asAnimatedTexture();
// continue to animate only if something still referencing this texture
if(self.use_count() > 2)
if(self.use_count() > 1)
g_eventDispatcher.scheduleEvent(std::bind(&AnimatedTexture::processAnimation, self), m_framesDelay[m_currentFrame]);
}