mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
Case-insensitive music_name comparison
This commit is contained in:
parent
512a5f0e1b
commit
b7c8f7fab7
1 changed files with 1 additions and 1 deletions
|
|
@ -1494,7 +1494,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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue