From 072d41aada0fbf22973638398d31b4ba491d2eef Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 6 Nov 2004 23:31:03 +0000 Subject: [PATCH] Fix "Assertion 'iNumTapsInRow > 0' failed" if attack notes happen to slip into the data. (They aren't generally used yet, and not recommended since they may change significantly, but they occasionally end up in data, so let's not crash.) --- stepmania/src/Player.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index ef52956d37..1248429b68 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -1061,8 +1061,12 @@ void PlayerMinus::UpdateTapNotesMissedOlderThan( float fMissIfOlderThanSeconds ) bool MissedNoteOnThisRow = false; for( int t=0; t