From db1adf49314510665af88b08fa510d57cb07a08f Mon Sep 17 00:00:00 2001 From: ennewalker Date: Fri, 18 Jul 2008 04:36:23 +0000 Subject: Fixing blood potion timer/quantity mismatch caused by potion shattering. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6596 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/ouch.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/ouch.cc') diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 97e51b76a6..a0415148a0 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -501,6 +501,8 @@ static void _expose_invent_to_element(beam_type flavour, int strength) if (dec_inv_item_quantity(i, 1)) break; + else if (is_blood_potion(you.inv[i])) + remove_oldest_blood_potion(you.inv[i]); } } } -- cgit v1.2.3-54-g00ecf