Revert "Don't send HNS_Held / HNS_LetGo when using checkpoint holds"

This reverts commit 18a0c818cd.

Those events are used for more than just life and scoring.
This commit is contained in:
Ben "root" Anderson
2013-12-11 18:53:11 -06:00
parent 2eea7aa06e
commit b4cfbf029c
+5 -1
View File
@@ -1412,6 +1412,7 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
else else
LOG->Trace("did not let go of hold note :D"); LOG->Trace("did not let go of hold note :D");
*/ */
}
if( bInitiatedNote ) if( bInitiatedNote )
{ {
@@ -1440,7 +1441,10 @@ void Player::UpdateHoldNotes( int iSongRow, float fDeltaTime, vector<TrackRowTap
{ {
hns = HNS_LetGo; hns = HNS_LetGo;
} }
} // hns == HNS_None initially and so it may remain else
{
hns = HNS_None;
}
} }
float fLifeFraction = fLife / MAX_HOLD_LIFE; float fLifeFraction = fLife / MAX_HOLD_LIFE;