Case-insensitive music_name comparison

This commit is contained in:
mazmazz 2018-08-25 21:42:39 -04:00
parent 512a5f0e1b
commit b7c8f7fab7

View file

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