summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godprayer.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-06-29 02:55:00 -0500
committergammafunk <gammafunk@gmail.com>2014-06-29 18:18:03 -0500
commit2dcbfe939151426d28576f62d505b5351fc0a5cc (patch)
tree3965500a885cb2a7202336b00985187461c91be9 /crawl-ref/source/godprayer.cc
parent687e18844208294d4576c7f7a3d428a780cdfd0b (diff)
downloadcrawl-ref-2dcbfe939151426d28576f62d505b5351fc0a5cc.tar.gz
crawl-ref-2dcbfe939151426d28576f62d505b5351fc0a5cc.zip
Remove an unused argument from the items() function
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 591f88f65e..8f4f15abe3 100644
--- a/crawl-ref/source/godprayer.cc
+++ b/crawl-ref/source/godprayer.cc
@@ -255,8 +255,8 @@ static bool _altar_prayer()
}
}
- int thing_created = items(1, OBJ_BOOKS, BOOK_NECRONOMICON, true, 1,
- 0, 0, 0, you.religion);
+ int thing_created = items(1, OBJ_BOOKS, BOOK_NECRONOMICON, true, 1, 0,
+ 0, you.religion);
if (thing_created == NON_ITEM || !move_item_to_grid(&thing_created, you.pos()))
return false;
@@ -607,7 +607,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, 0, GOD_ASHENZARI);
+ int it = items(0, OBJ_SCROLLS, scr, true, 0, 0, 0, GOD_ASHENZARI);
if (it == NON_ITEM)
{
mpr("You feel the world is against you.");