diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 14:54:20 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:22:16 +0100 |
commit | d4189cb0308511fc5d7e12790993f6844974e0c7 (patch) | |
tree | a45cdd89702f1110fbe94a70db99ddbebd0e5f45 /crawl-ref/source/los.cc | |
parent | cc0860dfeac4c0f9917d3e96fd9b709df1fafff2 (diff) | |
download | crawl-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.cc | 4 |
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? |