From eba90a4b0b8dcf598d94fe312c45eb8328424eab Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 27 Mar 2003 00:06:16 +0000 Subject: [PATCH] HoldNote life snaps to 1 when button is pressed (instead of refilling slowly) --- stepmania/NEWS | 2 ++ stepmania/src/Player.cpp | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/stepmania/NEWS b/stepmania/NEWS index 142ea1ca32..cdaeae138f 100644 --- a/stepmania/NEWS +++ b/stepmania/NEWS @@ -26,6 +26,8 @@ BUG FIX: Fixed song seeking in editor at non 1x music rates NEW FEATURE: More complete controls for BackgroundChanges in editor NEW FEATURE: Shift+P in editor for "play current beat until end" CHANGE: Nonstop and Oni scoring and combo counter behave exactly like DDREX +CHANGE: HoldNote life snaps to full when button is pressed (instead of + refilling slowly) ala DDR ----------------------- Version 3.01 --------------------------- CHANGE: Simplified NoteSkin tap graphic format. Old NoteSkins will need to diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 60970d0d89..8f9d4d091a 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -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 }