mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-27 00:46:19 +00:00
Fix music fade out when MUSICPOSTBOSS is not specified or doesn't exist
This commit is contained in:
parent
474d17e532
commit
f4e80bb0b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue