diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-10-09 14:46:00 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-09 14:46:00 +0200 |
commit | 6fb64ab3ac64b81a0891bdbbdd5c0b5d2d9b933c (patch) | |
tree | 890a713803c73b7412c3dc3192f40998a827ec0f /crawl-ref/source/losparam.cc | |
parent | 477b8798b39a01bf4a73697eefe0ae131a12d47d (diff) | |
download | crawl-ref-6fb64ab3ac64b81a0891bdbbdd5c0b5d2d9b933c.tar.gz crawl-ref-6fb64ab3ac64b81a0891bdbbdd5c0b5d2d9b933c.zip |
Trees -- a new wall type, can be seen through (2nd square blocks LOS).
Available as 't' for vault builders. Can be ignited using wands of fire,
but the fire can't be controlled.
Diffstat (limited to 'crawl-ref/source/losparam.cc')
-rw-r--r-- | crawl-ref/source/losparam.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/losparam.cc b/crawl-ref/source/losparam.cc index c0a3ed0298..f19412616e 100644 --- a/crawl-ref/source/losparam.cc +++ b/crawl-ref/source/losparam.cc @@ -97,6 +97,8 @@ opacity_type los_param_base::opacity(const coord_def& p) const return OPC_OPAQUE; else if (is_opaque_cloud(cloud_idx(p))) return OPC_HALF; + else if (f == DNGN_TREES) + return OPC_HALF; else return OPC_CLEAR; } |