summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.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/monster.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/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index bafae320eb..859e9d3965 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -6221,7 +6221,7 @@ void monster::steal_item_from_player()
else
{
// Else create a new item for this pile of gold.
- const int idx = items(0, OBJ_GOLD, OBJ_RANDOM, true, 0, 0);
+ const int idx = items(0, OBJ_GOLD, OBJ_RANDOM, true, 0);
if (idx == NON_ITEM)
return;