summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/exclude.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-06-17 21:56:26 -0400
committerNeil Moore <neil@s-z.org>2013-06-17 21:56:26 -0400
commit1484bc5fa177611567591dddeb3924a6042b1d0e (patch)
tree6bf6b5e1399a37282f7a73d404f62bfe88cf960a /crawl-ref/source/exclude.cc
parent982866be8833e2223315af02c91da6a6d19cf3c8 (diff)
downloadcrawl-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.cc3
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