From 5ba933cf9c12f2bc9bf7e840ba123f8e8ecd8119 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 9 Aug 2003 18:42:21 +0000 Subject: [PATCH] fix Autoplay hits notes way below current row if starved for CPU (taking a screenshot, dragging the window) --- stepmania/src/Player.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 5c9382302a..218543eb93 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -308,7 +308,7 @@ void Player::Update( float fDeltaTime ) // Why was this originally "BeatToNoteRowNotRounded"? It should be rounded. -Chris /* We want to send the crossed row message exactly when we cross the row--not - * .5 before the row. Use MAX3 as a test case: without rounding, autoplay steps + * .5 before the row. Use MAX300 as a test case: without rounding, autoplay steps * early. -glenn */ const int iRowNow = BeatToNoteRowNotRounded( GAMESTATE->m_fSongBeat ); if( iRowNow >= 0 ) @@ -647,7 +647,8 @@ void Player::CrossedRow( int iNoteRow ) { for( int t=0; t