diff --git a/src/p_enemy.c b/src/p_enemy.c index 110f369b4..7670aa543 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -3530,7 +3530,8 @@ void A_BossDeath(mobj_t *mo) junk.tag = 682; EV_DoElevator(&junk, elevateHighest, false); - if (mapheaderinfo[gamemap-1]->muspostbossname) + if (mapheaderinfo[gamemap-1]->muspostbossname[0] && + S_MusicExists(mapheaderinfo[gamemap-1]->muspostbossname, !midi_disabled, !digital_disabled)) { // Touching the egg trap button calls P_DoPlayerExit, which calls P_RestoreMusic. // So just park ourselves in the mapmus variables.