summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 04:52:39 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-18 04:52:39 +0000
commitef81b4c1125a2bedc476b4650c67d3edb4a3a5c2 (patch)
treeedf5c4fc7d7e815d5ba6b72d15fb1d589d80aa88
parent4844a8e72557b7c369baa45d1742e40b27bba81c (diff)
downloadcrawl-ref-ef81b4c1125a2bedc476b4650c67d3edb4a3a5c2.tar.gz
crawl-ref-ef81b4c1125a2bedc476b4650c67d3edb4a3a5c2.zip
Applying r6596 to 0.4.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6597 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index f309e7fc3a..3a49f7aee3 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -504,6 +504,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]);
}
}
}