summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-16 00:06:30 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-16 00:06:30 -0800
commit65a1613c83515d7ff24b18a17fc875e77cd2bd36 (patch)
tree2df03c31809d6f054c494a2eccd15eb2b219b426 /crawl-ref/source/view.cc
parent35356f4069fdc09ce25dbf2e33954016b570cb01 (diff)
downloadcrawl-ref-65a1613c83515d7ff24b18a17fc875e77cd2bd36.tar.gz
crawl-ref-65a1613c83515d7ff24b18a17fc875e77cd2bd36.zip
Don't auto-exclude clouds in arena mode.
During arena mode, the hazardous clouds made by some monsters were being auto-excluded as if they had ben generated via a fog machine.
Diffstat (limited to 'crawl-ref/source/view.cc')
-rw-r--r--crawl-ref/source/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.cc b/crawl-ref/source/view.cc
index d45a8b74f2..1861792b1f 100644
--- a/crawl-ref/source/view.cc
+++ b/crawl-ref/source/view.cc
@@ -662,7 +662,7 @@ static bool player_view_update_at(const coord_def &gc)
// Set excludes in a radius of 1 around harmful clouds genereated
// by neither monsters nor the player.
const int cloudidx = env.cgrid(gc);
- if (cloudidx != EMPTY_CLOUD)
+ if (cloudidx != EMPTY_CLOUD && !crawl_state.arena)
{
cloud_struct &cl = env.cloud[cloudidx];
cloud_type ctype = cl.type;