diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-30 14:01:57 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-30 14:01:57 +0000 |
commit | d943fb6050fa7d57b9c158530000861250cf9458 (patch) | |
tree | d4c2cc183c3135145f788902d35d9e35d749b0d2 /crawl-ref/source/shopping.cc | |
parent | 01b0ace86ad2dcdfc416e57942bfa03a1b885095 (diff) | |
download | crawl-ref-d943fb6050fa7d57b9c158530000861250cf9458.tar.gz crawl-ref-d943fb6050fa7d57b9c158530000861250cf9458.zip |
Don't ID-note when examining books in a shop.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2948 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/shopping.cc')
-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 1576fa420b..f3f8440ba2 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; |