reverse conditional; all else is whitespace changes
This commit is contained in:
+13
-13
@@ -463,22 +463,22 @@ 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++;
|
|
||||||
|
|
||||||
// show the ghost arrow for this column
|
iNumNotesInThisRow++;
|
||||||
switch( score )
|
|
||||||
|
// show the ghost arrow for this column
|
||||||
|
switch( score )
|
||||||
|
{
|
||||||
|
case TNS_GREAT:
|
||||||
|
case TNS_PERFECT:
|
||||||
|
case TNS_MARVELOUS:
|
||||||
{
|
{
|
||||||
case TNS_GREAT:
|
bool bBright = GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber]>(int)BRIGHT_GHOST_COMBO_THRESHOLD;
|
||||||
case TNS_PERFECT:
|
m_GhostArrowRow.TapNote( c, score, bBright );
|
||||||
case TNS_MARVELOUS:
|
|
||||||
{
|
|
||||||
bool bBright = GAMESTATE->m_CurStageStats.iCurCombo[m_PlayerNumber]>(int)BRIGHT_GHOST_COMBO_THRESHOLD;
|
|
||||||
m_GhostArrowRow.TapNote( c, score, bBright );
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user