mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 02:21:47 +00:00
Case-insensitive music matching
This commit is contained in:
parent
083de09f88
commit
01c6dbed5c
1 changed files with 1 additions and 1 deletions
|
@ -3541,7 +3541,7 @@ void A_BossDeath(mobj_t *mo)
|
||||||
|
|
||||||
// don't change if we're in another tune
|
// don't change if we're in another tune
|
||||||
// but in case we're in jingle, use our parked mapmus variables so the correct track restores
|
// but in case we're in jingle, use our parked mapmus variables so the correct track restores
|
||||||
if (!strncmp(mapheaderinfo[gamemap-1]->musname, mapmusname, 7))
|
if (!strnicmp(mapheaderinfo[gamemap-1]->musname, mapmusname, 7))
|
||||||
S_ChangeMusicAdvanced(mapmusname, mapmusflags, true, mapmusposition, (1*MUSICRATE)+(MUSICRATE/2), 0);
|
S_ChangeMusicAdvanced(mapmusname, mapmusflags, true, mapmusposition, (1*MUSICRATE)+(MUSICRATE/2), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue