diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-05-11 00:19:53 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-05-28 11:01:26 -0400 |
commit | 76d6fdf29a3763ebd9e8c5b7c0c4ad7116e69670 (patch) | |
tree | 18bbdc77efcb8a554ec91b28169f7629026b89b1 /crawl-ref/source/itemprop.cc | |
parent | 1e9b5204e7c4135868ca01791d7bbe3a1942d4ea (diff) | |
download | crawl-ref-76d6fdf29a3763ebd9e8c5b7c0c4ad7116e69670.tar.gz crawl-ref-76d6fdf29a3763ebd9e8c5b7c0c4ad7116e69670.zip |
The start: don't let monsters pick up items you've seen.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r-- | crawl-ref/source/itemprop.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 738416575f..ffd9fcc041 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -2671,6 +2671,7 @@ void seen_item(const item_def &item) } // major hack. Deconstify should be safe here, but it's still repulsive. + ((item_def*)&item)->flags |= ISFLAG_SEEN; if (you_worship(GOD_ASHENZARI)) ((item_def*)&item)->flags |= ISFLAG_KNOW_CURSE; if (item.base_type == OBJ_GOLD && !item.plus) |