summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acquire.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/acquire.cc')
-rw-r--r--crawl-ref/source/acquire.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/acquire.cc b/crawl-ref/source/acquire.cc
index 49ab48658c..68ffd661e6 100644
--- a/crawl-ref/source/acquire.cc
+++ b/crawl-ref/source/acquire.cc
@@ -1155,8 +1155,8 @@ int acquirement_create_item(object_class_type class_wanted,
if (agent == GOD_TROG && !one_chance_in(3))
want_arts = false;
- thing_created = items(want_arts, class_wanted, type_wanted, true,
- ITEM_LEVEL, 0, 0, agent);
+ thing_created = items(want_arts, class_wanted, type_wanted,
+ ITEM_LEVEL, 0, agent);
if (thing_created == NON_ITEM)
continue;
@@ -1219,8 +1219,8 @@ int acquirement_create_item(object_class_type class_wanted,
if (at != NUM_ARMOURS)
{
destroy_item(thing_created, true);
- thing_created = items(true, OBJ_ARMOUR, at, true,
- ITEM_LEVEL, 0, 0, agent);
+ thing_created = items(true, OBJ_ARMOUR, at,
+ ITEM_LEVEL, 0, agent);
}
else if (agent != GOD_XOM && one_chance_in(3))
{