diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-07-20 17:00:36 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-07-20 17:21:56 +0200 |
commit | 09226ac0c680bbbb99986534e466f4e87a902ba8 (patch) | |
tree | 315479263c8f25e3ad4ac73fa647e555bf7783fb /crawl-ref/source/los.cc | |
parent | ef7bc03388e190b9942fe4e50f756bed8260eb2f (diff) | |
download | crawl-ref-09226ac0c680bbbb99986534e466f4e87a902ba8.tar.gz crawl-ref-09226ac0c680bbbb99986534e466f4e87a902ba8.zip |
Wizard mode xray vision (Ctrl-V).
It would be nice to expose the whole viewed area, but
LOS code assumes circular bounds in a few places.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r-- | crawl-ref/source/los.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc index cc157f298f..a1d3c26753 100644 --- a/crawl-ref/source/los.cc +++ b/crawl-ref/source/los.cc @@ -690,7 +690,7 @@ dungeon_feature_type ray_blocker(const coord_def& source, ray_def ray; if (!find_ray(source, target, ray, opc_default)) { - ASSERT (false); + ASSERT (you.xray_vision); return (NUM_FEATURES); } |