Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDMUS cheat support UMAPINFO #549

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Pedro-Beirao
Copy link
Collaborator

Reported on discord. Fixes IDMUS only playing IWAD lumps

The dsda_*Music() functions were hardcoded to only use the current map, so I adapted dsda_MapMusic() to take any map.
Maybe we should do the same for the others, but I can't think of a reason we would need to call them with a map param.

int lump;
struct MapEntry* entry = dsda_UMapEntry(episode, map);
int level_num;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need int level_num here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't. I missed that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants