fix crash
This commit is contained in:
@@ -30,15 +30,15 @@ ScreenSelectGroup::ScreenSelectGroup( CString sClassName ) : ScreenWithMenuEleme
|
|||||||
|
|
||||||
void ScreenSelectGroup::Init()
|
void ScreenSelectGroup::Init()
|
||||||
{
|
{
|
||||||
|
ScreenWithMenuElements::Init();
|
||||||
|
|
||||||
if( !PREFSMAN->m_bShowSelectGroup )
|
if( !PREFSMAN->m_bShowSelectGroup )
|
||||||
{
|
{
|
||||||
GAMESTATE->m_sPreferredSongGroup.Set( GROUP_ALL );
|
GAMESTATE->m_sPreferredSongGroup.Set( GROUP_ALL );
|
||||||
HandleScreenMessage( SM_GoToNextScreen );
|
PostScreenMessage( SM_GoToNextScreen, 0 );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenWithMenuElements::Init();
|
|
||||||
|
|
||||||
vector<Song*> aAllSongs;
|
vector<Song*> aAllSongs;
|
||||||
SONGMAN->GetSongs( aAllSongs );
|
SONGMAN->GetSongs( aAllSongs );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user