summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/los.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 14:54:20 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:22:16 +0100
commitd4189cb0308511fc5d7e12790993f6844974e0c7 (patch)
treea45cdd89702f1110fbe94a70db99ddbebd0e5f45 /crawl-ref/source/los.cc
parentcc0860dfeac4c0f9917d3e96fd9b709df1fafff2 (diff)
downloadcrawl-ref-d4189cb0308511fc5d7e12790993f6844974e0c7.tar.gz
crawl-ref-d4189cb0308511fc5d7e12790993f6844974e0c7.zip
Hack player LOS routines for arena.
Player now sees everything in the arena.
Diffstat (limited to 'crawl-ref/source/los.cc')
-rw-r--r--crawl-ref/source/los.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index e771360f63..bb4ce58d29 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -909,9 +909,7 @@ void calc_show_los()
// Usually the same as player LOS.
bool observe_cell(const coord_def &p)
{
- return (((crawl_state.arena || crawl_state.arena_suspended)
- && crawl_view.in_grid_los(p))
- || you.see_cell(p));
+ return (you.see_cell(p));
}
// Is the cell visible, but a translucent wall is in the way?