fix assert if no songs loaded
This commit is contained in:
@@ -1494,11 +1494,11 @@ void ScreenGameplay::UpdateSongPosition( float fDeltaTime )
|
|||||||
|
|
||||||
void ScreenGameplay::BeginScreen()
|
void ScreenGameplay::BeginScreen()
|
||||||
{
|
{
|
||||||
ScreenWithMenuElements::BeginScreen();
|
|
||||||
|
|
||||||
if( GAMESTATE->m_pCurSong == NULL )
|
if( GAMESTATE->m_pCurSong == NULL )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
ScreenWithMenuElements::BeginScreen();
|
||||||
|
|
||||||
SOUND->PlayOnceFromAnnouncer( "gameplay intro" ); // crowd cheer
|
SOUND->PlayOnceFromAnnouncer( "gameplay intro" ); // crowd cheer
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user