From ada49a00d7e98b57a177ccb7912bbca8b9fc863c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 21 Dec 2002 17:15:28 +0000 Subject: [PATCH] don't speed up grade display during the final stretch --- stepmania/src/GradeDisplay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/GradeDisplay.cpp b/stepmania/src/GradeDisplay.cpp index c9648aef3b..652bcb6068 100644 --- a/stepmania/src/GradeDisplay.cpp +++ b/stepmania/src/GradeDisplay.cpp @@ -141,6 +141,10 @@ void GradeDisplay::SettleQuickly() if(m_bDoScrolling != 1) return; + /* If we're in the last phase of scrolling, don't do this. */ + if( 1 - (m_fTimeLeftInScroll/SCROLL_TIME) >= 0.9 ) + return; + /* m_frectDestTexCoords.top is between 0 and 1 (inclusive). m_frectCurTexCoords * is somewhere above that. Shift m_frectCurTexCoords downwards so it's pointing * at the same physical place (remember, the grade texture is tiled) but no more