This commit is contained in:
Glenn Maynard
2007-05-03 21:22:58 +00:00
parent 3205ffbe4b
commit bdee2b8c00
+2 -2
View File
@@ -149,7 +149,7 @@ void GradeDisplay::SettleImmediately()
void GradeDisplay::SettleQuickly() void GradeDisplay::SettleQuickly()
{ {
if(m_bDoScrolling != 1) if( m_bDoScrolling != 1 )
return; return;
/* If we're in the last phase of scrolling, don't do this. */ /* If we're in the last phase of scrolling, don't do this. */
@@ -160,7 +160,7 @@ void GradeDisplay::SettleQuickly()
* is somewhere above that. Shift m_frectCurTexCoords downwards so it's pointing * 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 * at the same physical place (remember, the grade texture is tiled) but no more
* than one rotation away from the destination. */ * than one rotation away from the destination. */
while(m_frectCurTexCoords.top > m_frectDestTexCoords.top + 1.0f) while( m_frectCurTexCoords.top > m_frectDestTexCoords.top + 1.0f )
{ {
m_frectCurTexCoords.top -= 1.0f; m_frectCurTexCoords.top -= 1.0f;
m_frectCurTexCoords.bottom -= 1.0f; m_frectCurTexCoords.bottom -= 1.0f;