From a211825a8658deb8aceccb224223cfef11359503 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 23 Apr 2003 07:28:24 +0000 Subject: [PATCH] simplify --- stepmania/src/SongManager.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 8fcd1cb15e..5b904c91ca 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -819,16 +819,14 @@ bool SongManager::GetExtraStageInfoFromCourse( bool bExtra2, CString sPreferredG if( course.GetEstimatedNumStages() <= 0 ) return false; CString sModifiers; - if( course.GetFirstStageInfo( pSongOut, pNotesOut, sModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType ) ) - { - po_out.Init(); - po_out.FromString( sModifiers ); - so_out.Init(); - so_out.FromString( sModifiers ); - return true; - } - else + if( !course.GetFirstStageInfo( pSongOut, pNotesOut, sModifiers, GAMESTATE->GetCurrentStyleDef()->m_NotesType ) ) return false; + + po_out.Init(); + po_out.FromString( sModifiers ); + so_out.Init(); + so_out.FromString( sModifiers ); + return true; } /* Return true if n1 < n2. */