From a09bf4042e238050211fbc1b5929c1519730a4bf Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Wed, 20 Apr 2005 06:10:30 +0000 Subject: [PATCH] separate roll window --- stepmania/src/Player.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index b7258f8dae..31287b4ea7 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -462,7 +462,7 @@ void Player::Update( float fDeltaTime ) // give positive life in Step(), not here. // Decrease life - fLife -= fDeltaTime/ADJUSTED_WINDOW(OK); + fLife -= fDeltaTime/ADJUSTED_WINDOW(Roll); fLife = max( fLife, 0 ); // clamp break; default: @@ -1043,9 +1043,6 @@ void Player::HandleStep( int col, const RageTimer &tm, bool bHeld ) if( hns != HNS_NONE ) // if this HoldNote already has a result continue; // we don't need to update the logic for this one - // TODO: Remove use of PlayerNumber. - PlayerNumber pn = m_pPlayerState->m_PlayerNumber; - // if they got a bad score or haven't stepped on the corresponding tap yet const TapNoteScore tns = tn.result.tns; const bool bSteppedOnTapNote = tns != TNS_NONE && tns != TNS_MISS; // did they step on the start of this roll?