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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pathfinder:getPath: Add _walkable parameter to _grid:isWalkableAt #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Pathfinder:getPath: Add _walkable parameter to _grid:isWalkableAt #34

wants to merge 1 commit into from

Conversation

saschagehlich
Copy link
Contributor

PathFinder:getPath() did not pass the _walkable variable to the Grid:isWalkableAt method. I came across this when I passed a function to PathFinder:setWalkable() which caused Grid:isWalkableAt() to break (since it tried to call walkable while it was nil)

Sorry for the messy diff, but I configured my editor to remove trailing spaces. You should do this too. 馃憤

@mokalux
Copy link

mokalux commented Dec 3, 2023

for future ref, this PR was merged

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.

None yet

2 participants