diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-05 10:50:57 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-05 10:50:57 +0000 |
commit | a9fca00e2caa13555a7e497cbf01febc7bdd025c (patch) | |
tree | 931c357ab2d75e2e3c8efa817aa82406c0caccdb /crawl-ref/source/shopping.cc | |
parent | a44d0b13e56bcf101fc324432ec48c473b249fca (diff) | |
download | crawl-ref-a9fca00e2caa13555a7e497cbf01febc7bdd025c.tar.gz crawl-ref-a9fca00e2caa13555a7e497cbf01febc7bdd025c.zip |
Fixed 1825223: unknown curses don't leak information in prices.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2767 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-rw-r--r-- | crawl-ref/source/shopping.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index a410cb0719..1576fa420b 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -766,7 +766,7 @@ unsigned int item_value( item_def item, bool ident ) valued += 20; } - if (item_cursed( item )) + if (item_known_cursed(item)) { valued *= 6; valued /= 10; @@ -1018,7 +1018,7 @@ unsigned int item_value( item_def item, bool ident ) valued += 20; } - if (item_cursed( item )) + if (item_known_cursed(item)) { valued *= 6; valued /= 10; @@ -1272,7 +1272,7 @@ unsigned int item_value( item_def item, bool ident ) break; case OBJ_JEWELLERY: - if (item_cursed( item )) + if (item_known_cursed(item)) valued -= 10; if ( !item_type_known(item) ) |