summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r--crawl-ref/source/item_use.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc
index 950ea4ba6c..d0c1b8e051 100644
--- a/crawl-ref/source/item_use.cc
+++ b/crawl-ref/source/item_use.cc
@@ -4205,7 +4205,7 @@ void read_scroll( int slot )
{
if (you.duration[DUR_CONF])
{
- random_uselessness(random2(9), item_slot);
+ random_uselessness(item_slot);
dec_inv_item_quantity( item_slot, 1 );
return;
}
@@ -4228,7 +4228,7 @@ void read_scroll( int slot )
break;
case SCR_RANDOM_USELESSNESS:
- random_uselessness(random2(9), item_slot);
+ random_uselessness(item_slot);
id_the_scroll = false;
break;