summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_debug.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-12-11 17:06:46 +0100
committerAdam Borowski <kilobyte@angband.pl>2011-12-11 17:06:46 +0100
commitd09b4f16275a05d49ed29aef992ecb85212f287c (patch)
treece744de21bb6e49405ba2b44d62bb28517071bf8 /crawl-ref/source/l_debug.cc
parent00c8f8cc5f9aa9d7904908fa6590781b75220898 (diff)
downloadcrawl-ref-d09b4f16275a05d49ed29aef992ecb85212f287c.tar.gz
crawl-ref-d09b4f16275a05d49ed29aef992ecb85212f287c.zip
Disambiguate the LOS_SOLID confusion.
Its name suggests it's about line of effect, while in fact it's both effect and sight. Thus, I've split its uses into LOS_SOLID and LOS_SOLID_SEE -- the former is what LOS_SOLID was usually understood to mean, the latter is what it actually was (being targettable with an arrow/beam). The difference is: LOS_SOLID_SEE obeys clouds. The name of the latter is abysmal -- if you have a better idea, please sed.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r--crawl-ref/source/l_debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc
index 5979ffa8d5..2b0415b024 100644
--- a/crawl-ref/source/l_debug.cc
+++ b/crawl-ref/source/l_debug.cc
@@ -146,7 +146,7 @@ LUAFN(debug_bouncy_beam)
beam.draw_delay = 0;
if (findray)
- beam.chose_ray = find_ray(source, target, beam.ray);
+ beam.chose_ray = find_ray(source, target, beam.ray, opc_solid_see);
beam.name = "debug lightning beam";
beam.short_name = "DEBUG";