move skipping of SSelectGroup into a branch (fixes SSGroup::TweenOnScreen assert)

This commit is contained in:
Chris Danford
2005-10-15 06:20:59 +00:00
parent 8b7e6d6b92
commit c27dc12583
3 changed files with 12 additions and 12 deletions
+1 -6
View File
@@ -31,12 +31,7 @@ void ScreenSelectGroup::Init()
{
ScreenWithMenuElements::Init();
if( !PREFSMAN->m_bShowSelectGroup )
{
GAMESTATE->m_sPreferredSongGroup.Set( GROUP_ALL );
PostScreenMessage( SM_GoToNextScreen, 0 );
return;
}
ASSERT( PREFSMAN->m_bShowSelectGroup );
vector<Song*> aAllSongs;
SONGMAN->GetSongs( aAllSongs );