make OK and NG affect life meter

This commit is contained in:
Glenn Maynard
2003-01-20 05:17:49 +00:00
parent eb6493f28f
commit 4eb419a979
+9 -1
View File
@@ -334,7 +334,15 @@ void LifeMeterBar::ChangeLife( TapNoteScore score )
void LifeMeterBar::ChangeLife( HoldNoteScore score, TapNoteScore tscore )
{
/* The initial tap note score (which we happen to have in have in
* tscore) has already been reported to the above function. If the
* hold end result was an NG, count it as a miss; if the end result
* was an OK, count a perfect. (Remember, this is just life meter
* computation, not scoring.) */
if(score == HNS_NG)
ChangeLife(TNS_MISS);
else if(score == HNS_OK)
ChangeLife(TNS_PERFECT);
}
void LifeMeterBar::AfterLifeChanged()