summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-death.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-death.cc')
-rw-r--r--crawl-ref/source/mon-death.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-death.cc b/crawl-ref/source/mon-death.cc
index c31c2659fa..4ed47824b1 100644
--- a/crawl-ref/source/mon-death.cc
+++ b/crawl-ref/source/mon-death.cc
@@ -1719,8 +1719,11 @@ int monster_die(monster* mons, killer_type killer,
}
else if (mons->type == MONS_BATTLESPHERE)
{
- if (!wizard && !mons_reset && !was_banished)
+ if (!wizard && !mons_reset && !was_banished
+ && !cell_is_solid(mons->pos()))
+ {
place_cloud(CLOUD_MAGIC_TRAIL, mons->pos(), 3 + random2(3), mons);
+ }
end_battlesphere(mons, true);
}
else if (mons->type == MONS_BRIAR_PATCH)