summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abyss.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-26 03:30:51 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-26 03:32:45 +0100
commitc7db7fc652d081d42aaf1b0327cbdf7346566de8 (patch)
tree8004d54af1d4aa0902da8f044edade6011d7b730 /crawl-ref/source/abyss.cc
parent6313ea665a8b85a5416a0e1af8b25c499aab25a7 (diff)
downloadcrawl-ref-c7db7fc652d081d42aaf1b0327cbdf7346566de8.tar.gz
crawl-ref-c7db7fc652d081d42aaf1b0327cbdf7346566de8.zip
Fix a cloud crash during banishment.
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r--crawl-ref/source/abyss.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc
index 9d18b22365..61e81c6e64 100644
--- a/crawl-ref/source/abyss.cc
+++ b/crawl-ref/source/abyss.cc
@@ -148,6 +148,8 @@ static void _write_abyssal_features()
{
grd(p) = abyssal_features[index];
env.level_map_mask(p) = MMT_VAULT;
+ if (cell_is_solid(p))
+ delete_cloud_at(p);
if (monster* mon = monster_at(p))
_push_displaced_monster(mon);
}