diff options
author | elliptic <hyperelliptical@gmail.com> | 2012-04-04 10:46:23 -0400 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2012-04-04 11:05:06 -0400 |
commit | 14d7242575c35886e92e1ce4150d70994abb89a1 (patch) | |
tree | 480639d57d2350632ff54f4547c348353830bb66 /crawl-ref/source/terrain.h | |
parent | f5919441398151a19c6bcc336dd5a3e0f99a8c4f (diff) | |
download | crawl-ref-14d7242575c35886e92e1ce4150d70994abb89a1.tar.gz crawl-ref-14d7242575c35886e92e1ce4150d70994abb89a1.zip |
Add feat_is_reachable_past to handle trees correctly.
Diffstat (limited to 'crawl-ref/source/terrain.h')
-rw-r--r-- | crawl-ref/source/terrain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/terrain.h b/crawl-ref/source/terrain.h index ed52687a81..e9c3c8be21 100644 --- a/crawl-ref/source/terrain.h +++ b/crawl-ref/source/terrain.h @@ -79,6 +79,7 @@ bool feat_is_branch_stairs(dungeon_feature_type feat); bool feat_is_branchlike(dungeon_feature_type feat); bool feat_is_bidirectional_portal(dungeon_feature_type feat); bool feat_is_fountain(dungeon_feature_type feat); +bool feat_is_reachable_past(dungeon_feature_type feat); void find_connected_identical(const coord_def& d, dungeon_feature_type ft, std::set<coord_def>& out); std::set<coord_def> connected_doors(const coord_def& d); |