fix "stepping on a mine during a stop gives you a Marvelous" (Disconnected Hyper Expert)

This commit is contained in:
Chris Danford
2004-01-24 19:11:52 +00:00
parent ec6fb7968d
commit f36b2f2c77
+7 -3
View File
@@ -847,8 +847,12 @@ void PlayerMinus::Step( int col, RageTimer tm )
if( m_pSecondaryScoreKeeper ) if( m_pSecondaryScoreKeeper )
m_pSecondaryScoreKeeper->HandleTapScore( score ); m_pSecondaryScoreKeeper->HandleTapScore( score );
if( IsThereATapOrHoldHeadAtRow(iIndexOverlappingNote) ) // don't judge rows that are only mines switch( tn )
{ {
case TAP_TAP:
case TAP_HOLD_HEAD:
case TAP_ADDITION:
// don't the row if this note is a mine or tap attack
if( IsRowCompletelyJudged(iIndexOverlappingNote) ) if( IsRowCompletelyJudged(iIndexOverlappingNote) )
OnRowCompletelyJudged( iIndexOverlappingNote ); OnRowCompletelyJudged( iIndexOverlappingNote );
} }
@@ -973,8 +977,8 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )
iMissIfOlderThanThisIndex = BeatToNoteRow( fMissIfOlderThanThisBeat ); iMissIfOlderThanThisIndex = BeatToNoteRow( fMissIfOlderThanThisBeat );
if( bFreeze ) if( bFreeze )
{ {
/* iMissIfOlderThanThisIndex is a freeze. Include the index of the freeze, /* If there is a freeze on iMissIfOlderThanThisIndex, include this index too.
* too. Otherwise we won't show misses for tap notes on freezes until the * Otherwise we won't show misses for tap notes on freezes until the
* freeze finishes. */ * freeze finishes. */
iMissIfOlderThanThisIndex++; iMissIfOlderThanThisIndex++;
} }