- In S_Shutdown(), stop the song and forget traces of it so that people who feel like setting

snd_musicvolume in their atexit don't crash because it tries to restart the song at the new
  volume.

SVN r3570 (trunk)
This commit is contained in:
Randy Heit 2012-04-19 02:27:10 +00:00
parent c1f3621a4c
commit 9c1e03a21b
1 changed files with 3 additions and 0 deletions

View File

@ -365,6 +365,9 @@ void S_Shutdown ()
delete PlayList; delete PlayList;
PlayList = NULL; PlayList = NULL;
} }
S_StopMusic (true);
mus_playing.name = "";
LastSong = "";
} }
//========================================================================== //==========================================================================