Skip to content

Commit

Permalink
fix UMAPINFO's intermusic being used at the summary screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
prof-hastig authored and coelckers committed Oct 25, 2023
1 parent 7bbe7a5 commit e1e856b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gamedata/umapinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e1e856b

Please sign in to comment.