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/player.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/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7af59e3b10..3b1516551a 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6885,6 +6885,9 @@ bool player::invisible() const bool player::visible_to(const actor *looker) const { + if (crawl_state.arena) + return (false); + if (this == looker) return (can_see_invisible() || !invisible()); |