From f36b2f2c77503450af234e235b0359db3d63dae2 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 24 Jan 2004 19:11:52 +0000 Subject: [PATCH] fix "stepping on a mine during a stop gives you a Marvelous" (Disconnected Hyper Expert) --- stepmania/src/Player.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index c3f65a2c0e..2fcd76659e 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -847,8 +847,12 @@ void PlayerMinus::Step( int col, RageTimer tm ) if( m_pSecondaryScoreKeeper ) 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) ) OnRowCompletelyJudged( iIndexOverlappingNote ); } @@ -973,8 +977,8 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds ) iMissIfOlderThanThisIndex = BeatToNoteRow( fMissIfOlderThanThisBeat ); if( bFreeze ) { - /* iMissIfOlderThanThisIndex is a freeze. Include the index of the freeze, - * too. Otherwise we won't show misses for tap notes on freezes until the + /* If there is a freeze on iMissIfOlderThanThisIndex, include this index too. + * Otherwise we won't show misses for tap notes on freezes until the * freeze finishes. */ iMissIfOlderThanThisIndex++; }