summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.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/godprayer.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/godprayer.cc')
-rw-r--r--crawl-ref/source/godprayer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc
index 23cb0fac3f..d86b9bfae6 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -258,8 +258,8 @@ static bool _altar_prayer()
}
}
- int thing_created = items(1, OBJ_BOOKS, BOOK_NECRONOMICON, true, 1, 0,
- 0, you.religion);
+ int thing_created = items(true, OBJ_BOOKS, BOOK_NECRONOMICON, 1, 0,
+ you.religion);
if (thing_created == NON_ITEM || !move_item_to_grid(&thing_created, you.pos()))
return false;
@@ -588,7 +588,7 @@ static void _ashenzari_sac_scroll(const item_def& item)
jwl, SCR_CURSE_JEWELLERY,
0);
}
- int it = items(0, OBJ_SCROLLS, scr, true, 0, 0, 0, GOD_ASHENZARI);
+ int it = items(false, OBJ_SCROLLS, scr, 0, 0, GOD_ASHENZARI);
if (it == NON_ITEM)
{
mpr("You feel the world is against you.");