diff options
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r-- | crawl-ref/source/ouch.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 3a49f7aee3..b9e509eead 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -562,7 +562,11 @@ void expose_items_to_element(beam_type flavour, int x, int y, int strength) if (x_chance_in_y(strength, 100)) { num_dest++; - dec_mitm_item_quantity(si->index(), 1); + if (!dec_mitm_item_quantity(si->index(), 1) + && is_blood_potion(*si)) + { + remove_oldest_blood_potion(*si); + } } } } |