fix key search going in the wrong direction

This commit is contained in:
Glenn Maynard
2005-02-07 03:21:18 +00:00
parent d67eb7f243
commit 5302cd8535
+1 -1
View File
@@ -972,8 +972,8 @@ void Player::Step( int col, const RageTimer &tm )
/* Search for keyed sounds separately. If we can't find a nearby note, search
* backwards indefinitely, and ignore grading. */
iIndexOverlappingNote = GetClosestNote( col, BeatToNoteRow(fSongBeat),
MAX_NOTE_ROW,
iStepSearchRows,
MAX_NOTE_ROW,
true );
if( iIndexOverlappingNote != -1 )
{