From 6fb64ab3ac64b81a0891bdbbdd5c0b5d2d9b933c Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Fri, 9 Oct 2009 14:46:00 +0200 Subject: 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. --- crawl-ref/source/losparam.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/losparam.cc') 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; } -- cgit v1.2.3-54-g00ecf