HoldNote life snaps to 1 when button is pressed (instead of refilling slowly)
This commit is contained in:
@@ -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: More complete controls for BackgroundChanges in editor
|
||||||
NEW FEATURE: Shift+P in editor for "play current beat until end"
|
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: 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 ---------------------------
|
----------------------- Version 3.01 ---------------------------
|
||||||
CHANGE: Simplified NoteSkin tap graphic format. Old NoteSkins will need to
|
CHANGE: Simplified NoteSkin tap graphic format. Old NoteSkins will need to
|
||||||
|
|||||||
@@ -216,8 +216,9 @@ void Player::Update( float fDeltaTime )
|
|||||||
if( bSteppedOnTapNote && bIsHoldingButton )
|
if( bSteppedOnTapNote && bIsHoldingButton )
|
||||||
{
|
{
|
||||||
// Increase life
|
// Increase life
|
||||||
fLife += fDeltaTime/PREFSMAN->m_fJudgeWindowOKSeconds;
|
// fLife += fDeltaTime/PREFSMAN->m_fJudgeWindowOKSeconds;
|
||||||
fLife = min( fLife, 1 ); // clamp
|
// fLife = min( fLife, 1 ); // clamp
|
||||||
|
fLife = 1;
|
||||||
|
|
||||||
m_GhostArrowRow.HoldNote( hn.iTrack ); // update the "electric ghost" effect
|
m_GhostArrowRow.HoldNote( hn.iTrack ); // update the "electric ghost" effect
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user