summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/losglobal.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-22 14:05:01 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-22 18:49:33 +0100
commit93ce09261f5ea50a84761348f7e5486deb156abe (patch)
tree75114436232cf2ed2b64299023f597557778f3f9 /crawl-ref/source/losglobal.cc
parentb4fd6a508a17aa957e7774f5f8675950777a3fee (diff)
downloadcrawl-ref-93ce09261f5ea50a84761348f7e5486deb156abe.tar.gz
crawl-ref-93ce09261f5ea50a84761348f7e5486deb156abe.zip
Yet another version of arena LOS hacks.
Diffstat (limited to 'crawl-ref/source/losglobal.cc')
-rw-r--r--crawl-ref/source/losglobal.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/losglobal.cc b/crawl-ref/source/losglobal.cc
index bd2bb147a4..1207ee6c65 100644
--- a/crawl-ref/source/losglobal.cc
+++ b/crawl-ref/source/losglobal.cc
@@ -75,6 +75,9 @@ static void _update_globallos_at(const coord_def& p)
bool cell_see_cell(const coord_def& p, const coord_def& q, los_type l)
{
+ if (l == LOS_ARENA)
+ return (true);
+
losfield_t* flags = _lookup_globallos(p, q);
if (!flags)