diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-12-27 19:25:32 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-12-27 19:25:32 +0300 |
commit | dc3e12a4da48363a7cadb77f30b8e784d5f82acf (patch) | |
tree | dadef79197a359e2c24a68a32284b6b6c79eb536 /crawl-ref/source/transfor.cc | |
parent | 507c3523d54cd2c15185f06f8be1f1ea353497d8 (diff) | |
download | crawl-ref-dc3e12a4da48363a7cadb77f30b8e784d5f82acf.tar.gz crawl-ref-dc3e12a4da48363a7cadb77f30b8e784d5f82acf.zip |
Replace uses of item_cursed with item_def::cursed.
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r-- | crawl-ref/source/transfor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc index 39f932a5eb..eaa1d12afb 100644 --- a/crawl-ref/source/transfor.cc +++ b/crawl-ref/source/transfor.cc @@ -311,7 +311,7 @@ static bool _check_for_cursed_equipment(const std::set<equipment_type> &remove, continue; const item_def& item = you.inv[ you.equip[e] ]; - if (item_cursed(item)) + if (item.cursed()) { if (e != EQ_WEAPON && _tran_may_meld_cursed(trans)) continue; |