fixed some pathfinding bugs
Signed-off-by: timothy <timothy@timothy-linux.(none)>