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 a0415148a0..4e0df5df79 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -559,7 +559,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); + } } } } |