diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-18 17:40:17 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-18 17:40:17 +0000 |
commit | a7203404130a710ead01f0edf8e043524682ca44 (patch) | |
tree | 6e41cd53579f94797cf094dd3f93b1ab5e12d2be /crawl-ref | |
parent | 29efa68f86607d97f7f147e809d92e2bafa9f310 (diff) | |
download | crawl-ref-a7203404130a710ead01f0edf8e043524682ca44.tar.gz crawl-ref-a7203404130a710ead01f0edf8e043524682ca44.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9631 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 3 |
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: |