Require reasons for checkpoints.

This commit is contained in:
Jason Felds
2015-06-08 18:37:13 -04:00
parent 8b7370ee10
commit 80542a5a7d
16 changed files with 103 additions and 95 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ static void StartQueuedSounds()
StartMusic( aMusicsToPlay[i] );
else
{
CHECKPOINT;
CHECKPOINT_M( ssprintf("Removing old sound at index %d", i));
/* StopPlaying() can take a while, so don't hold the lock while we stop the sound. */
g_Mutex->Lock();
RageSound *pOldSound = g_Playing->m_Music;