summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-11-02 12:14:09 -0800
committerStefan O'Rear <stefanor@cox.net>2009-11-02 12:14:09 -0800
commit6722acc40a80c6951d4f485a84ada395c4de8317 (patch)
tree553cf15d1bb10b630bf40470a0db9c3ecfd3261c /crawl-ref/source/view.cc
parent112341df7929da3f2c76d6f4a418c44ff4ff4792 (diff)
downloadcrawl-ref-6722acc40a80c6951d4f485a84ada395c4de8317.tar.gz
crawl-ref-6722acc40a80c6951d4f485a84ada395c4de8317.zip
Mapping should be able to see through closed doors
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index e24cfdb1cb..dcba43faf0 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -2954,7 +2954,7 @@ static std::auto_ptr<FixedArray<bool, GXM, GYM> > _tile_detectability()
(*map)(p) = true;
- if (grd(p) < DNGN_MINSEE)
+ if (grd(p) < DNGN_MINSEE && grd(p) != DNGN_CLOSED_DOOR)
continue;
for (int dy = -1; dy <= 1; ++dy)