do shm = 0 after SNDDMA_Shutdown is called

This commit is contained in:
Adam Olsen 2001-05-19 08:53:08 +00:00
parent bfbcf8fac2
commit aef4cd6da7

View file

@ -348,12 +348,13 @@ I_S_Shutdown (void)
if (shm) if (shm)
shm->gamealive = 0; shm->gamealive = 0;
shm = 0;
sound_started = 0; sound_started = 0;
if (!fakedma) { if (!fakedma) {
SNDDMA_Shutdown (); SNDDMA_Shutdown ();
} }
shm = 0;
} }