Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Protect can_step_taken_wrt_to_zoc against null terrain
Using can_step_taken_wrt_to_zoc in the path finding code (through unit_can_move_to_tile) makes it possible that unseen tiles are passed to it. We should therefore not assume that the terrain of the tile is known. Closes #1315.
- Loading branch information