summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 0aa7ca040b..25c355d1be 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -1245,11 +1245,8 @@ void create_spec_object()
case OBJ_POTIONS:
mitm[thing_created].quantity = 12;
- if (mitm[thing_created].sub_type == POT_BLOOD
- || mitm[thing_created].sub_type == POT_BLOOD_COAGULATED)
- {
+ if (is_blood_potion(mitm[thing_created]))
init_stack_blood_potions(mitm[thing_created]);
- }
break;
case OBJ_FOOD: