Skip to content

Fix map bounds check in movementSystem#6

Merged
RodionovMaxim05 merged 1 commit into21pack:mainfrom
Ycyken:main
Dec 6, 2025
Merged

Fix map bounds check in movementSystem#6
RodionovMaxim05 merged 1 commit into21pack:mainfrom
Ycyken:main

Conversation

@Ycyken
Copy link
Contributor

@Ycyken Ycyken commented Dec 6, 2025

Negative float rounding was incorrect: for example -1.4 tile X-coordinate was rounding to -1 and considered correct even if border tile X-coordinate is -1
image

Copy link
Collaborator

@RodionovMaxim05 RodionovMaxim05 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution to our project))

@RodionovMaxim05 RodionovMaxim05 merged commit ca87add into 21pack:main Dec 6, 2025
8 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