From b55843f919b15b046faa5c655918d9495c18ed16 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 4 Sep 2002 02:17:40 +0000 Subject: [PATCH] Fix "ghosts" (stray glow) at the "press start for options" screen. --- stepmania/src/GrooveRadar.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/GrooveRadar.cpp b/stepmania/src/GrooveRadar.cpp index 2149b00ae6..6bd373f143 100644 --- a/stepmania/src/GrooveRadar.cpp +++ b/stepmania/src/GrooveRadar.cpp @@ -71,6 +71,10 @@ void GrooveRadar::TweenOffScreen() { m_sprRadarLabels[c].StopTweening(); m_sprRadarLabels[c].BeginTweening( 0.2f ); + /* Make sure we undo glow. We do this at the end of TweenIn, + * but we might tween off before we complete tweening in, and + * the glow can remain. */ + m_sprRadarLabels[c].SetTweenGlow( D3DXCOLOR(1,1,1,0) ); m_sprRadarLabels[c].SetTweenDiffuse( D3DXCOLOR(1,1,1,0) ); } m_GrooveRadarValueMap.TweenOffScreen();