Remove unused pathfinding code, fix embarrassing miss in last commit