fix key search going in the wrong direction
This commit is contained in:
@@ -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
|
/* Search for keyed sounds separately. If we can't find a nearby note, search
|
||||||
* backwards indefinitely, and ignore grading. */
|
* backwards indefinitely, and ignore grading. */
|
||||||
iIndexOverlappingNote = GetClosestNote( col, BeatToNoteRow(fSongBeat),
|
iIndexOverlappingNote = GetClosestNote( col, BeatToNoteRow(fSongBeat),
|
||||||
MAX_NOTE_ROW,
|
|
||||||
iStepSearchRows,
|
iStepSearchRows,
|
||||||
|
MAX_NOTE_ROW,
|
||||||
true );
|
true );
|
||||||
if( iIndexOverlappingNote != -1 )
|
if( iIndexOverlappingNote != -1 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user