diff --git a/src/Sprite.cpp b/src/Sprite.cpp index 5ba279be33..df85f5a9de 100644 --- a/src/Sprite.cpp +++ b/src/Sprite.cpp @@ -782,7 +782,7 @@ void Sprite::SetState( int iNewState ) void Sprite::RecalcAnimationLengthSeconds() { - float m_animation_length_seconds = 0; + m_animation_length_seconds = 0; FOREACH_CONST(State, m_States, s) { m_animation_length_seconds += s->fDelay;