Skip to content

Fix buggy behavior parsing #160

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

Merged
merged 1 commit into from
Jun 5, 2025
Merged

Fix buggy behavior parsing #160

merged 1 commit into from
Jun 5, 2025

Conversation

grunt-lucas
Copy link
Owner

Enum metatile behavior parsing was broken if the enum value had a comment after it, e.g.

MB_INTERIOR_DEEP_WATER, // Used by interior maps; functionally the same as MB_DEEP_WATER

Parsing was skipping this value and thus all subsequent values were offset by 1.

@grunt-lucas grunt-lucas added the bug Something isn't working label Jun 5, 2025
@grunt-lucas grunt-lucas merged commit 811728f into develop Jun 5, 2025
5 checks passed
@grunt-lucas grunt-lucas deleted the bug/behavior-values branch June 5, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant