diff options
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r-- | crawl-ref/source/losparam.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc index 77fd88943a..ff53d43543 100644 --- a/crawl-ref/source/losparam.cc +++ b/crawl-ref/source/losparam.cc @@ -15,7 +15,9 @@ opacity_type opacity_default::operator()(const coord_def& p) const { - dungeon_feature_type f = env.grid(p); + // Secret doors in translucent walls shouldn't block LOS, + // hence grid_appearance. + dungeon_feature_type f = grid_appearance(p); if (feat_is_opaque(f)) return OPC_OPAQUE; else if (is_opaque_cloud(env.cgrid(p))) |