From 6be4ed8d60eee65c6869b744b47ead0edafe5a1e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 18 Nov 2002 09:35:33 +0000 Subject: [PATCH] fix bounce tween glitch when no time has passed (hmm. perhaps we should just not call updates to begin with in this case) --- stepmania/src/Actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 2840a3ffd4..33b8bef4b4 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -146,7 +146,7 @@ void Actor::EndDraw() void Actor::UpdateTweening( float fDeltaTime ) { // update tweening - if( m_iNumTweenStates == 0 ) + if( m_iNumTweenStates == 0 || fDeltaTime == 0 ) return; // we are performing a tween