fix UMAPINFO's intermusic being used at the summary screen.

This commit is contained in:
Professor Hastig 2023-10-25 08:36:53 +02:00 committed by Christoph Oelckers
parent 82c492f3d7
commit 70e4dd17b7

View file

@ -443,11 +443,13 @@ void CommitUMapinfo(level_info_t *defaultinfo)
if (map.partime > 0) levelinfo->partime = map.partime;
if (map.enterpic[0]) levelinfo->EnterPic = map.enterpic;
if (map.exitpic[0]) levelinfo->ExitPic = map.exitpic;
/* UMAPINFO's intermusic is for the text screen, not the summary.
if (map.intermusic[0])
{
levelinfo->InterMusic = map.intermusic;
levelinfo->intermusicorder = 0;
}
*/
if (map.BossActions.Size() > 0 || map.BossCleared)
{
// Setting a boss action will deactivate the flag based monster actions.