reverse conditional; all else is whitespace changes
This commit is contained in:
@@ -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 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user