From 22b18175866db20ce6fd9e8c4bbb635782b9fe57 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 16 Aug 2006 13:27:59 +0000 Subject: [PATCH] Missed commit. --- stepmania/src/Player.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index 9e324423a3..0338742c69 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1278,7 +1278,17 @@ void Player::Step( int col, int row, const RageTimer &tm, bool bHeld, bool bRele static bool Unjudged( const TapNote &tn ) { - return IteratorCondition::TapsHoldsAndMines( tn ) && tn.result.tns == TNS_None; + if( tn.result.tns != TNS_None ) + return false; + switch( tn.type ) + { + case TapNote::tap: + case TapNote::hold_head: + case TapNote::mine: + case TapNote::lift: + return true; + } + return false; } void Player::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )