prefer preincrement
This commit is contained in:
@@ -932,7 +932,7 @@ int Player::GetClosestNonEmptyRowDirectional( int iStartRow, int iEndRow, bool b
|
|||||||
{
|
{
|
||||||
if( NoteDataWithScoring::IsRowCompletelyJudged(m_NoteData, iter.Row(), m_pPlayerState->m_PlayerNumber) )
|
if( NoteDataWithScoring::IsRowCompletelyJudged(m_NoteData, iter.Row(), m_pPlayerState->m_PlayerNumber) )
|
||||||
{
|
{
|
||||||
iter++;
|
++iter;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
return iter.Row();
|
return iter.Row();
|
||||||
@@ -946,7 +946,7 @@ int Player::GetClosestNonEmptyRowDirectional( int iStartRow, int iEndRow, bool b
|
|||||||
{
|
{
|
||||||
if( NoteDataWithScoring::IsRowCompletelyJudged(m_NoteData, iter.Row(), m_pPlayerState->m_PlayerNumber) )
|
if( NoteDataWithScoring::IsRowCompletelyJudged(m_NoteData, iter.Row(), m_pPlayerState->m_PlayerNumber) )
|
||||||
{
|
{
|
||||||
iter++;
|
++iter;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
return iter.Row();
|
return iter.Row();
|
||||||
|
|||||||
Reference in New Issue
Block a user