summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.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/religion.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/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index eccac7fbd8..8a41bf47cb 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -1489,8 +1489,8 @@ static bool _give_nemelex_gift(bool forced = false)
2, MISC_DECK_OF_ESCAPE,
0);
- int thing_created = items(1, OBJ_MISCELLANY, gift_type,
- true, 1, 0, 0, 0, GOD_NEMELEX_XOBEH);
+ int thing_created = items(1, OBJ_MISCELLANY, gift_type, true, 1, 0, 0,
+ GOD_NEMELEX_XOBEH);
move_item_to_grid(&thing_created, you.pos(), true);
@@ -1939,8 +1939,8 @@ bool do_god_gift(bool forced)
}
else
{
- int thing_created = items(1, OBJ_BOOKS, gift, true, 1,
- 0, 0, 0, you.religion);
+ int thing_created = items(1, OBJ_BOOKS, gift, true, 1, 0, 0,
+ you.religion);
// Replace a Kiku gift by a custom-random book.
if (you_worship(GOD_KIKUBAAQUDGHA))
{