fix crash if hit a mine too early

This commit is contained in:
Chris Danford
2003-08-23 19:01:35 +00:00
parent 1e718a80a5
commit d69d19fc2a
2 changed files with 15 additions and 12 deletions
-3
View File
@@ -107,9 +107,6 @@ TapNoteScore NoteDataWithScoring::MinTapNoteScore(unsigned row) const
/* If there's no tap note on this row, skip it, or else the score will always be TNS_NONE. */
if(GetTapNote(t, row) == TAP_EMPTY)
continue;
/* Don't count mines - the goal is to miss those */
if(GetTapNote(t, row) == TAP_MINE)
continue;
score = min( score, GetTapNoteScore(t, row) );
}