summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-stuff.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/mon-stuff.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/mon-stuff.cc')
-rw-r--r--crawl-ref/source/mon-stuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc
index d8f0a8e7a2..730fb54ef2 100644
--- a/crawl-ref/source/mon-stuff.cc
+++ b/crawl-ref/source/mon-stuff.cc
@@ -198,7 +198,7 @@ bool curse_an_item( bool decay_potions, bool quiet )
|| you.inv[i].base_type == OBJ_JEWELLERY
|| you.inv[i].base_type == OBJ_POTIONS)
{
- if (item_cursed( you.inv[i] ))
+ if (you.inv[i] .cursed())
continue;
if (you.inv[i].base_type != OBJ_POTIONS