This commit is contained in:
Glenn Maynard
2003-04-23 07:28:24 +00:00
parent eb4c7625d6
commit a211825a86
+3 -5
View File
@@ -819,16 +819,14 @@ bool SongManager::GetExtraStageInfoFromCourse( bool bExtra2, CString sPreferredG
if( course.GetEstimatedNumStages() <= 0 ) return false; if( course.GetEstimatedNumStages() <= 0 ) return false;
CString sModifiers; CString sModifiers;
if( course.GetFirstStageInfo( pSongOut, pNotesOut, sModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType ) ) if( !course.GetFirstStageInfo( pSongOut, pNotesOut, sModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType ) )
{ return false;
po_out.Init(); po_out.Init();
po_out.FromString( sModifiers ); po_out.FromString( sModifiers );
so_out.Init(); so_out.Init();
so_out.FromString( sModifiers ); so_out.FromString( sModifiers );
return true; return true;
}
else
return false;
} }
/* Return true if n1 < n2. */ /* Return true if n1 < n2. */