fix crash if no songs loaded
This commit is contained in:
@@ -784,6 +784,7 @@ ScreenGameplay::~ScreenGameplay()
|
|||||||
SAFE_DELETE( m_pInventory[p] );
|
SAFE_DELETE( m_pInventory[p] );
|
||||||
}
|
}
|
||||||
SAFE_DELETE( m_pCombinedLifeMeter );
|
SAFE_DELETE( m_pCombinedLifeMeter );
|
||||||
|
if( m_pSoundMusic )
|
||||||
m_pSoundMusic->StopPlaying();
|
m_pSoundMusic->StopPlaying();
|
||||||
|
|
||||||
m_soundAssistTick.StopPlaying(); /* Stop any queued assist ticks. */
|
m_soundAssistTick.StopPlaying(); /* Stop any queued assist ticks. */
|
||||||
|
|||||||
Reference in New Issue
Block a user