mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
- 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:
parent
c1f3621a4c
commit
9c1e03a21b
1 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,9 @@ void S_Shutdown ()
|
||||||
delete PlayList;
|
delete PlayList;
|
||||||
PlayList = NULL;
|
PlayList = NULL;
|
||||||
}
|
}
|
||||||
|
S_StopMusic (true);
|
||||||
|
mus_playing.name = "";
|
||||||
|
LastSong = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue