diff options
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r-- | crawl-ref/source/invent.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 047a502467..887fbd436c 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -109,7 +109,7 @@ const std::string &InvEntry::get_fullname() const bool InvEntry::is_item_cursed() const { - return (item_ident(*item, ISFLAG_KNOW_CURSE) && item_cursed(*item)); + return (item_ident(*item, ISFLAG_KNOW_CURSE) && item->cursed()); } bool InvEntry::is_item_glowing() const |