Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix pathfinder bugs: returning nil frequently, broken A*, jump throug…
…h solid nodes (#9339) * Fix pathfinder fail when startpos is over air * Note down pathfinder restrictions * Implement real A* search * Pathfinder: Implement buildPath non-recursively * Update find_path documentation * Pathfinder: Check if jump path is unobstructed * Pathfinder: Fix drop check first checking upwards * Pathfinder: Return nil if source or dest are solid * Pathfinder: Use priority queue for open list
- Loading branch information
Showing
with
354 additions
and 251 deletions.
- +1 −0 builtin/game/features.lua
- +16 −5 doc/lua_api.txt
- +336 −245 src/pathfinder.cpp
- +1 −1 src/script/lua_api/l_env.cpp
Oops, something went wrong.