summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 849969c1ca..7f735179b1 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -1160,7 +1160,9 @@ static int l_item_subtype(lua_State *ls)
}
else if (item->base_type == OBJ_POTIONS)
{
- if (item->sub_type == POT_BERSERK_RAGE)
+ if (item->sub_type == POT_BLOOD)
+ s = "blood";
+ else if (item->sub_type == POT_BERSERK_RAGE)
s = "berserk";
else if (item->sub_type == POT_WATER)
s = "water";
@@ -1227,6 +1229,7 @@ static int l_item_potion_type(lua_State *ls)
// need more refined handling:
case POT_BERSERK_RAGE:
+ case POT_BLOOD:
case POT_WATER:
case POT_PORRIDGE:
default: