mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Case-insensitive music_name comparison
(cherry picked from commit a7ae059949
)
This commit is contained in:
parent
8541963c61
commit
fac7d19637
1 changed files with 1 additions and 1 deletions
|
@ -1378,7 +1378,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
|
||||
|
||||
|
|
Loading…
Reference in a new issue