cleanup, fix warnings
This commit is contained in:
@@ -1853,14 +1853,15 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, int* iAnswers )
|
|||||||
const vector<Steps*> sIter = m_pSong->GetAllSteps();
|
const vector<Steps*> sIter = m_pSong->GetAllSteps();
|
||||||
NoteData ndTemp;
|
NoteData ndTemp;
|
||||||
CString sTempStyle, sTempDiff;
|
CString sTempStyle, sTempDiff;
|
||||||
for (int i = 0; i < sIter.size(); i++) {
|
for( unsigned i = 0; i < sIter.size(); i++ )
|
||||||
if (sIter[i]->IsAutogen()) {
|
{
|
||||||
|
if( sIter[i]->IsAutogen() )
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
/* XXX: Edits are distinguished by description. Compare vs m_pNotes. */
|
||||||
if( (sIter[i]->m_StepsType == GAMESTATE->m_pCurNotes[PLAYER_1]->m_StepsType) &&
|
if( (sIter[i]->m_StepsType == GAMESTATE->m_pCurNotes[PLAYER_1]->m_StepsType) &&
|
||||||
(sIter[i]->GetDifficulty() == GAMESTATE->m_pCurNotes[PLAYER_1]->GetDifficulty())) {
|
(sIter[i]->GetDifficulty() == GAMESTATE->m_pCurNotes[PLAYER_1]->GetDifficulty()) )
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
sIter[i]->GetNoteData( &ndTemp );
|
sIter[i]->GetNoteData( &ndTemp );
|
||||||
ndTemp.ConvertHoldNotesTo2sAnd3s();
|
ndTemp.ConvertHoldNotesTo2sAnd3s();
|
||||||
|
|||||||
Reference in New Issue
Block a user