Skip to content

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

Open
saschagehlich wants to merge 1 commit intoYonaba:masterfrom
saschagehlich:bugfix/getpath_walkable
Open

Pathfinder:getPath: Add _walkable parameter to _grid:isWalkableAt#34
saschagehlich wants to merge 1 commit intoYonaba:masterfrom
saschagehlich:bugfix/getpath_walkable

Conversation

@saschagehlich
Copy link
Copy Markdown
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
Copy Markdown

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.

2 participants