Mute the keysound immediately when letting go of hold note.
Don't know if that last formula change is intentional or not, so restoring this old formula. Back this out if it's actually intentional.
This commit is contained in:
+1
-2
@@ -1402,8 +1402,7 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
|
||||
// Possibly fixed.
|
||||
if( tn.iKeysoundIndex >= 0 && tn.iKeysoundIndex < (int) m_vKeysounds.size() )
|
||||
{
|
||||
float factor = (tn.subType == TapNote::hold_head_roll ? 2 : 10.0f - 8.5f);
|
||||
factor *= fLifeFraction;
|
||||
float factor = (tn.subType == TapNote::hold_head_roll ? 2.0 * fLifeFraction : 10.0f * fLifeFraction - 8.5f);
|
||||
m_vKeysounds[tn.iKeysoundIndex].SetProperty ("Volume", max(0.0f, min(1.0f, factor)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user