Skip to content

Conversation

@matrefeytontias
Copy link
Member

Entities were able to execute diagonal moves that made them cross one or two illegal tiles.

When allowing diagonals, entities were able to cross through walls that have touching vertices. Moreover, the code allowed for entities to enter halfway into a wall.
@ibilon
Copy link

ibilon commented Aug 8, 2015

I'm not familiar with this library so I'll have to look into it before merging.

After a quick look I'm a bit confused, the horizontal neighbors are added without check so I assumed this is done in the search but it doesn't look like it's the case either.

So yeah I'll have to investigate that ;)

@matrefeytontias
Copy link
Member Author

Bumpity bump, in case anyone else uses this, the fix does fix things, so it might be a good idea to merge it.

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