summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 2ab5148d34..cd71198007 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -821,7 +821,13 @@ void monster_die(monsters *monster, killer_type killer, int i, bool silent)
// KILL_RESET monsters no longer lose their whole inventory, only
// items they were generated with.
if (!monster->needs_transit())
+ {
+ // A banished monster that doesn't go on the transit list
+ // loses all items.
+ if (!mons_is_summoned(monster))
+ monster->destroy_inventory();
break;
+ }
// Monster goes to the Abyss.
monster->flags |= MF_BANISHED;