diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-29 05:15:57 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-29 05:15:57 +0000 |
commit | 881660c90f36bd39411a50834943fb564935e454 (patch) | |
tree | 05cc8992e40d314e2254ba4c0ebaaf5b4c9af4c3 /crawl-ref/source/item_use.cc | |
parent | 7a518ef227f349cc62403bdbfd0b115cbf826a46 (diff) | |
download | crawl-ref-881660c90f36bd39411a50834943fb564935e454.tar.gz crawl-ref-881660c90f36bd39411a50834943fb564935e454.zip |
Ensure again that a weapon's curse status is always known after wielding
it, as, after r6787, it sometimes wouldn't if you knew the weapon's ego
type (from e.g. being hit by the weapon if it was in a monster's hands
before).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7062 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index fc809cbb5c..ab1fc8e335 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -772,6 +772,9 @@ void wield_effects(int item_wield_2, bool showMsgs) else xom_is_stimulated(64); } + + // Give curse status when wielded. + set_ident_flags( item, ISFLAG_KNOW_CURSE ); break; } default: |