diff options
author | elliptic <hyperelliptical@gmail.com> | 2011-04-24 17:15:26 -0400 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-24 23:57:36 +0200 |
commit | 5b523d948c6564e61f03605f1711083990253cd9 (patch) | |
tree | ff72c43ff1803de5f95c8cd67f032c42ca1ad0cd /crawl-ref/source/travel.h | |
parent | 367190e9232688e48a8f3f5ffc22f5a499f386d1 (diff) | |
download | crawl-ref-5b523d948c6564e61f03605f1711083990253cd9.tar.gz crawl-ref-5b523d948c6564e61f03605f1711083990253cd9.zip |
Fix the coloring of radius 1 staircase exclusions.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 51e8efa491..201c538618 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -71,6 +71,8 @@ bool is_unknown_stair(const coord_def &p); void find_travel_pos(const coord_def& youpos, int *move_x, int *move_y, std::vector<coord_def>* coords = NULL); +bool is_stair_exclusion(const coord_def &p); + bool is_travelsafe_square(const coord_def& c, bool ignore_hostile = false, bool ignore_danger = false); |