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.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index b685550733..0f0509b730 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -1244,12 +1244,14 @@ void create_spec_object()
break;
case OBJ_POTIONS:
- if (mitm[thing_created].sub_type == POT_BLOOD)
- mitm[thing_created].special = 1200;
- else if (mitm[thing_created].sub_type == POT_BLOOD_COAGULATED)
- mitm[thing_created].special = 200;
- // intentional fall-through
-
+ mitm[thing_created].quantity = 12;
+ if (mitm[thing_created].sub_type == POT_BLOOD
+ || mitm[thing_created].sub_type == POT_BLOOD_COAGULATED)
+ {
+ init_stack_blood_potions(mitm[thing_created]);
+ }
+ break;
+
case OBJ_FOOD:
case OBJ_SCROLLS:
mitm[thing_created].quantity = 12;