diff options
author | elliptic <hyperelliptical@gmail.com> | 2014-03-28 12:16:13 -0400 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2014-03-28 12:16:13 -0400 |
commit | 3cecf4cad8f0273cdad8476e4f3a1bd888555f2d (patch) | |
tree | d23b7f5401e4d232a40f4c2860d6e81dcbcdc36c /crawl-ref/source/travel.h | |
parent | aaf79ab05752396355c40f35892e3abf7b50629b (diff) | |
download | crawl-ref-3cecf4cad8f0273cdad8476e4f3a1bd888555f2d.tar.gz crawl-ref-3cecf4cad8f0273cdad8476e4f3a1bd888555f2d.zip |
Improve view.find_deepest_explored().
It now returns 0 rather than 1 if the player hasn't seen the branch yet.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 8a1d2783f6..b75abf48e7 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -64,6 +64,7 @@ bool is_resting(void); void explore_pickup_event(int did_pickup, int tried_pickup); bool feat_is_traversable_now(dungeon_feature_type feat, bool try_fallback = false); bool feat_is_traversable(dungeon_feature_type feat, bool try_fallback = false); +bool is_known_branch_id(branch_type branch); bool is_unknown_stair(const coord_def &p); void find_travel_pos(const coord_def& youpos, int *move_x, int *move_y, |