diff options
author | Neil Moore <neil@s-z.org> | 2013-06-17 21:56:26 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-06-17 21:56:26 -0400 |
commit | 1484bc5fa177611567591dddeb3924a6042b1d0e (patch) | |
tree | 6bf6b5e1399a37282f7a73d404f62bfe88cf960a /crawl-ref/source/exclude.cc | |
parent | 982866be8833e2223315af02c91da6a6d19cf3c8 (diff) | |
download | crawl-ref-1484bc5fa177611567591dddeb3924a6042b1d0e.tar.gz crawl-ref-1484bc5fa177611567591dddeb3924a6042b1d0e.zip |
Don't exclude through double rows of trees.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r-- | crawl-ref/source/exclude.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc index afd1826cf8..ca782705a6 100644 --- a/crawl-ref/source/exclude.cc +++ b/crawl-ref/source/exclude.cc @@ -116,7 +116,8 @@ void remove_auto_exclude(const monster* mon, bool sleepy) static opacity_type _feat_opacity(dungeon_feature_type feat) { - return feat_is_opaque(feat) ? OPC_OPAQUE : OPC_CLEAR; + return feat_is_opaque(feat) ? OPC_OPAQUE + : feat_is_tree(feat) ? OPC_HALF : OPC_CLEAR; } // A cell is considered clear unless the player knows it's |