reverse conditional; all else is whitespace changes

This commit is contained in:
Glenn Maynard
2003-03-26 17:38:19 +00:00
parent 0d0de7d336
commit 194bb88b1d
+3 -3
View File
@@ -463,8 +463,9 @@ void Player::OnRowDestroyed( TapNoteScore lastScore, int iIndexThatWasSteppedOn
int iNumNotesInThisRow = 0; int iNumNotesInThisRow = 0;
for( int c=0; c<GetNumTracks(); c++ ) // for each column for( int c=0; c<GetNumTracks(); c++ ) // for each column
{ {
if( GetTapNote(c, iIndexThatWasSteppedOn) != TAP_EMPTY ) // if there is a note in this col if( GetTapNote(c, iIndexThatWasSteppedOn) == TAP_EMPTY )
{ continue; /* no note in this col */
iNumNotesInThisRow++; iNumNotesInThisRow++;
// show the ghost arrow for this column // show the ghost arrow for this column
@@ -480,7 +481,6 @@ void Player::OnRowDestroyed( TapNoteScore lastScore, int iIndexThatWasSteppedOn
break; break;
} }
} }
}
if( iNumNotesInThisRow > 0 ) if( iNumNotesInThisRow > 0 )
{ {