This commit is contained in:
Glenn Maynard
2005-01-08 15:30:57 +00:00
parent e858102147
commit fae341d21f
+3 -3
View File
@@ -1137,17 +1137,18 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )
bool MissedNoteOnThisRow = false;
for( int t=0; t<m_NoteData.GetNumTracks(); t++ )
{
/* XXX: cleaner to pick the things we do want to apply misses to, instead of
* the things we don't? */
switch( m_NoteData.GetTapNote(t, r).type )
{
case TapNote::empty:
case TapNote::attack:
case TapNote::mine:
continue; /* no note here */
}
if( m_NoteData.GetTapNoteScore(t, r) != TNS_NONE ) /* note here is already hit */
continue;
if( m_NoteData.GetTapNote(t, r).type != TapNote::mine )
{
// A normal note. Penalize for not stepping on it.
MissedNoteOnThisRow = true;
m_NoteData.SetTapNoteScore( t, r, TNS_MISS );
@@ -1158,7 +1159,6 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds )
m_ProTimingDisplay.SetJudgment( MAX_PRO_TIMING_ERROR, TNS_MISS );
}
}
}
if( MissedNoteOnThisRow )
{