summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-12-27 19:25:32 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-12-27 19:25:32 +0300
commitdc3e12a4da48363a7cadb77f30b8e784d5f82acf (patch)
treedadef79197a359e2c24a68a32284b6b6c79eb536 /crawl-ref/source/makeitem.cc
parent507c3523d54cd2c15185f06f8be1f1ea353497d8 (diff)
downloadcrawl-ref-dc3e12a4da48363a7cadb77f30b8e784d5f82acf.tar.gz
crawl-ref-dc3e12a4da48363a7cadb77f30b8e784d5f82acf.zip
Replace uses of item_cursed with item_def::cursed.
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index ee473f1a04..977198929d 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2924,7 +2924,7 @@ static void _generate_jewellery_item(item_def& item, bool allow_uniques,
if (item.sub_type == RING_SLAYING ) // requires plus2 too
{
- if (item_cursed(item) && !one_chance_in(20))
+ if (item.cursed() && !one_chance_in(20))
item.plus2 = -1 - random2avg(6, 2);
else
{