summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makeitem.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 703def7229..b528b3d5cb 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2385,6 +2385,7 @@ static void _generate_potion_item(item_def& item, int force_type,
{
item.quantity = 1;
}
+
item.sub_type = stype;
}
@@ -2873,7 +2874,7 @@ int items( int allow_uniques, // not just true-false,
case OBJ_ORBS: // always forced in current setup {dlb}
item.sub_type = force_type;
- set_unique_item_status( OBJ_ORBS, item.sub_type, UNIQ_EXISTS );
+ set_unique_item_status(OBJ_ORBS, item.sub_type, UNIQ_EXISTS);
break;
case OBJ_MISCELLANY: