HoldNote life snaps to 1 when button is pressed (instead of refilling slowly)

This commit is contained in:
Chris Danford
2003-03-27 00:06:16 +00:00
parent 0d7bbf9b61
commit eba90a4b0b
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -216,8 +216,9 @@ void Player::Update( float fDeltaTime )
if( bSteppedOnTapNote && bIsHoldingButton )
{
// Increase life
fLife += fDeltaTime/PREFSMAN->m_fJudgeWindowOKSeconds;
fLife = min( fLife, 1 ); // clamp
// fLife += fDeltaTime/PREFSMAN->m_fJudgeWindowOKSeconds;
// fLife = min( fLife, 1 ); // clamp
fLife = 1;
m_GhostArrowRow.HoldNote( hn.iTrack ); // update the "electric ghost" effect
}