fix crash if no songs loaded

This commit is contained in:
Chris Danford
2004-11-05 06:36:49 +00:00
parent 72bd480883
commit b46bd4f9da
+2 -1
View File
@@ -784,7 +784,8 @@ ScreenGameplay::~ScreenGameplay()
SAFE_DELETE( m_pInventory[p] );
}
SAFE_DELETE( m_pCombinedLifeMeter );
m_pSoundMusic->StopPlaying();
if( m_pSoundMusic )
m_pSoundMusic->StopPlaying();
m_soundAssistTick.StopPlaying(); /* Stop any queued assist ticks. */