summaryrefslogtreecommitdiff
path: root/src/xtra1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2018-03-25 20:07:30 +0200
committerBardur Arantsson <bardur@scientician.net>2018-03-25 20:07:30 +0200
commit8de61b84e438cd270f65e134e7e0590972b4199a (patch)
tree3f420476267a4e00f913f84eafdfa20d0b84c3ce /src/xtra1.cc
parentc21bf1340b495c2cb5bf146a8fa6fc765026b6e2 (diff)
Remove IDENT_CURSED
We no longer need to track having "identified" whether an item is cursed separately.
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r--src/xtra1.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc
index c0d02574..a039e0cf 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -4469,7 +4469,10 @@ std::string fate_desc(int fate)
q_ptr->weight = a_ptr->weight;
/* Hack -- acquire "cursed" flag */
- if (a_ptr->flags & (TR_CURSED)) q_ptr->ident |= (IDENT_CURSED);
+ if (a_ptr->flags & TR_CURSED)
+ {
+ q_ptr->art_flags |= TR_CURSED;
+ }
random_artifact_resistance(q_ptr);