From 01c6dbed5c21eb0489e8ad14f387c0ce7fabcbb2 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sat, 25 Aug 2018 21:50:56 -0400 Subject: [PATCH] Case-insensitive music matching --- src/p_enemy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index bea166759..88a05f384 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -3541,7 +3541,7 @@ void A_BossDeath(mobj_t *mo) // 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 - 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); } }