- fixed: The music name wasn't recorded when a song was started with music volume set to 0.

SVN r3683 (trunk)
This commit is contained in:
Christoph Oelckers 2012-06-09 14:41:18 +00:00
parent 18839acddb
commit ba9f29531e

View file

@ -2489,7 +2489,7 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
if (snd_musicvolume <= 0) if (snd_musicvolume <= 0)
{ {
mus_playing.loop = looping; mus_playing.loop = looping;
mus_playing.name = ""; mus_playing.name = musicname;
mus_playing.baseorder = order; mus_playing.baseorder = order;
LastSong = musicname; LastSong = musicname;
return true; return true;