Case-insensitive music_name comparison

(cherry picked from commit a7ae059949)
This commit is contained in:
mazmazz 2018-08-25 21:42:39 -04:00
parent 8541963c61
commit fac7d19637

View file

@ -1378,7 +1378,7 @@ void S_ChangeMusic(const char *mmusic, UINT16 mflags, boolean looping)
return; return;
} }
if (strncmp(music_name, mmusic, 6)) if (strnicmp(music_name, newmusic, 6))
{ {
S_StopMusic(); // shutdown old music S_StopMusic(); // shutdown old music