-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fixed Issue #209: Walking through blocks at a 45 degree angle #216
base: master
Are you sure you want to change the base?
Fixed Issue #209: Walking through blocks at a 45 degree angle #216
Conversation
Fixed in Craft pull request fogleman#216 from usernamefreaks. Bug report: fogleman#209
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code seems good. Just has some minor formatting issues: mixing tabs and spaces, and there are distracting comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this pull request is great now. It is a good improvement to the game.
Fixed in Craft pull request fogleman#216 from usernamefreaks. Bug report: fogleman#209
Fixed in Craft pull request fogleman#216 from usernamefreaks. Bug report: fogleman#209
Link to the issue we fixed: #209
The cause of the bug is that in the collide() function, it doesn't check whether the 4 diagonally neighboring blocks are obstacles. We added code that check for obstacles in these directions.