From ba49be01c84e26bf2578f80d1f374f8c83cf0afd Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 18 Apr 2003 04:00:24 +0000 Subject: [PATCH] Make sure textDebug tweens off when the song ends --- stepmania/src/ScreenGameplay.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 2e68a41215..c265824952 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1567,6 +1567,13 @@ void ScreenGameplay::TweenOffScreen() OFF_COMMAND( m_textPlayerOptions[p] ); OFF_COMMAND( m_DifficultyIcon[p] ); } + + if(m_textDebug.GetTweenTimeLeft() > 1/8.f) + { + m_textDebug.StopTweening(); + m_textDebug.BeginTweening( 1/8.f ); + m_textDebug.SetDiffuse( RageColor(1,1,1,1) ); + } } void ScreenGameplay::ShowOniGameOver( PlayerNumber pn )