diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-30 14:03:02 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-30 14:03:02 +0000 |
commit | e367869da9f95861d50de188f92adb853f7a5c9f (patch) | |
tree | 994110a85be9e4c312cd4b0b009aa1bf55c5dc76 | |
parent | 1c4008ac7e3b974440732fb9c29d2d4d8c802238 (diff) | |
download | crawl-ref-e367869da9f95861d50de188f92adb853f7a5c9f.tar.gz crawl-ref-e367869da9f95861d50de188f92adb853f7a5c9f.zip |
Merge r2948: fix for 1837281, examining books in a shop could trigger fake
notes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2949 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/shopping.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/shopping.cc b/crawl-ref/source/shopping.cc index 8b7f000c5e..33bea4247a 100644 --- a/crawl-ref/source/shopping.cc +++ b/crawl-ref/source/shopping.cc @@ -251,7 +251,8 @@ static void in_a_shop( int shopidx ) item_def& item = mitm[stock[ft]]; const unsigned long old_flags = item.flags; if ( id_stock ) - item.flags |= ISFLAG_IDENT_MASK; + item.flags |= (ISFLAG_IDENT_MASK | ISFLAG_NOTED_ID | + ISFLAG_NOTED_GET); describe_item(item); if ( id_stock ) item.flags = old_flags; |