From 88f29c9853864ca5c1e088acce08636cab94c027 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 12 Mar 2005 02:30:28 +0000 Subject: [PATCH] fix off-by-one (fixes issues with holds that start on stop segments) --- stepmania/src/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 775d661988..474c7c8ad4 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -364,7 +364,7 @@ void Player::Update( float fDeltaTime ) // Instead, only check 1 beat back. Even 1 is overkill. const int iStartCheckingAt = max( 0, iSongRow-BeatToNoteRow(1) ); NoteData::iterator begin, end; - m_NoteData.GetTapNoteRangeInclusive( iTrack, iStartCheckingAt, iSongRow, begin, end ); + m_NoteData.GetTapNoteRangeInclusive( iTrack, iStartCheckingAt, iSongRow+1, begin, end ); for( ; begin != end; ++begin ) { TapNote &tn = begin->second;