Açò ja no hi ha Cristo que ho pete

This commit is contained in:
2024-10-10 13:48:53 +02:00
parent fc8fdc5fe5
commit 9e5f41644e
7 changed files with 27 additions and 23 deletions

View File

@@ -510,8 +510,11 @@ void AnimatedSprite::setCurrentAnimation(int index)
// Actualiza las variables del objeto
void AnimatedSprite::update()
{
animate();
MovingSprite::update();
if (enabled_)
{
animate();
MovingSprite::update();
}
}
// Establece el rectangulo para un frame de una animación