mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-05 07:33:00 +00:00
Case-insensitive music_name comparison
(cherry picked from commit a7ae059949b320723727aea4468a370bc63c3910)
This commit is contained in:
parent
6a6a7a60c7
commit
6d6cd4f4c4
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…
Add table
Reference in a new issue