fix long songs showing in last stage and causing crash b/c no steps are playable

This commit is contained in:
Chris Danford
2007-04-04 02:19:09 +00:00
parent 1ffcdab974
commit 25a82867cc
+4 -3
View File
@@ -93,7 +93,10 @@ void MusicWheel::Load( RString sType )
* stable_sort) from its output, and title will be the secondary sort, without having
* to re-sort by title each time. */
SONGMAN->SortSongs();
}
void MusicWheel::BeginScreen()
{
RageTimer timer;
RString times;
/* Build all of the wheel item data. Do this after selecting
@@ -119,10 +122,8 @@ void MusicWheel::Load( RString sType )
}
}
}
}
void MusicWheel::BeginScreen()
{
WheelBase::BeginScreen();
if( (GAMESTATE->IsExtraStage() && !PREFSMAN->m_bPickExtraStage) || GAMESTATE->IsExtraStage2() )