diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index aa9a370c32..a8ac9055d2 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -703,6 +703,9 @@ bool receive_corpses(int pow, coord_def where) dummy.type = mon_type; int index_of_corpse_created = get_item_slot(); + if (index_of_corpse_created == NON_ITEM) + break; + if (mons_genus(mon_type) == MONS_HYDRA) dummy.number = random2(20) + 1; |