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

Fix Local ID assigned global ID in flipped Tile constructor #114

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

twje
Copy link
Contributor

@twje twje commented Dec 28, 2023

In a tileset, the IDs of tiles are local, which allows them to reference one another within the same tileset At the moment, flipped tiles are being assigned a global ID for their local ID.

This code change updates the flipped tile constructor - see Test Case tests_flipped_tile.cpp for fix details.

Demo maps load correctly and all test cases pass.

In addition, I renamed some assets, that should of been included in PR #112 (referencing issue #100 instead of #110) - json map file, tileset png files and usage code.

Copy link
Owner

@SSBMTonberry SSBMTonberry left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you for your contribution 🎉

@SSBMTonberry SSBMTonberry merged commit ac21076 into SSBMTonberry:master Dec 28, 2023
14 checks passed
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