summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-08-08 03:57:55 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-08-08 15:00:27 -0400
commit959592d6485a5aec6e0fb404f31edce8dd690e11 (patch)
treea4c97b5ea792cc5720bbb75661653af2f2efd08c /crawl-ref/source/xom.cc
parent8ce947975fa9f9c0b3d8575ab43ff042c5d6b872 (diff)
downloadcrawl-ref-959592d6485a5aec6e0fb404f31edce8dd690e11.tar.gz
crawl-ref-959592d6485a5aec6e0fb404f31edce8dd690e11.zip
Remove 2 more parameters from items()
They were only used in one place, and the relevant code was moved to that one place in the previous commit.
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index 872b45eb81..ae518910db 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -727,7 +727,7 @@ static void _xom_make_item(object_class_type base, int subtype, int power)
{
god_acting gdact(GOD_XOM);
- int thing_created = items(true, base, subtype, true, power, 0, 0, GOD_XOM);
+ int thing_created = items(true, base, subtype, power, 0, GOD_XOM);
if (feat_destroys_item(grd(you.pos()), mitm[thing_created],
!silenced(you.pos())))
@@ -1637,9 +1637,9 @@ static int _xom_snakes_to_sticks(int sever, bool debug = false)
(x_chance_in_y(3,5) ? MI_ARROW : MI_JAVELIN)
: _xom_random_stickable(mi->get_experience_level()));
- int item_slot = items(false, base_type, sub_type, true,
+ int item_slot = items(false, base_type, sub_type,
mi->get_experience_level() / 3 - 1,
- 0, 0, -1);
+ 0, -1);
if (item_slot == NON_ITEM)
continue;