From 7e2adc093afaa0c4b24026b00b0c281d94259f38 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 6 Dec 2004 05:25:00 +0000 Subject: [PATCH] simplify --- 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 1b35899e26..fa2201d448 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -356,7 +356,7 @@ void PlayerMinus::Update( float fDeltaTime ) float fLife = m_NoteData.GetHoldNoteLife(hn); // If the song beat is in the range of this hold: - if( hn.iStartRow <= iSongRow && iSongRow <= hn.iEndRow ) + if( hn.RowIsInRange(iSongRow) ) { bool bIsHoldingButton = INPUTMAPPER->IsButtonDown( GameI );