fix bounce tween glitch when no time has passed

(hmm. perhaps we should just not call updates to begin with in this case)
This commit is contained in:
Glenn Maynard
2002-11-18 09:35:33 +00:00
parent 7e02a6cd55
commit 6be4ed8d60
+1 -1
View File
@@ -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