diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index 6db8a32420..f6ee037f0d 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -338,7 +338,10 @@ void ScreenSelectMusic::Update( float fDeltaTime ) float fNewRotation = m_sprCDTitle.GetRotationY()+90*fDeltaTime; fNewRotation = fmodf( fNewRotation, 360 ); m_sprCDTitle.SetRotationY( fNewRotation ); - if( fNewRotation > 90 && fNewRotation <= 270 ) + /* Hack: +11 fixes the switch time in the default theme. This will break if + * the sprite is moved. To do this right, we should probably have two sprites, + * one lit and one unlit, with backface culling on. */ + if( fNewRotation > 90+11 && fNewRotation <= 270+11 ) m_sprCDTitle.SetDiffuse( RageColor(0.2f,0.2f,0.2f,1) ); else m_sprCDTitle.SetDiffuse( RageColor(1,1,1,1) );