summaryrefslogtreecommitdiff
path: root/src/cmd6.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
committerBardur Arantsson <bardur@scientician.net>2016-09-17 09:58:14 +0200
commitcc857c940cfe1bfe8d78674dbce53e5b71acaf41 (patch)
treed1e62b5c66b9bd3d0f8cf1873b8dd858060816c5 /src/cmd6.cc
parent5a3f511fd036dd73152786e83f32c32f274f2398 (diff)
Move ability_type::acquired to p_ptr struct
This is justified by the fact that the 'acquired' flag is actually a player-centered bit of information and must be loaded/saved. Everything else in ability_type is defined by the *.txt files.
Diffstat (limited to 'src/cmd6.cc')
-rw-r--r--src/cmd6.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc
index 4490b5de..1663b5c1 100644
--- a/src/cmd6.cc
+++ b/src/cmd6.cc
@@ -5318,7 +5318,7 @@ const char *activation_aux(object_type * o_ptr, bool_ doit, int item)
msg_print("The stone reveals hidden mysteries...");
if (!ident_spell()) break;
- if (has_ability(AB_PERFECT_CASTING))
+ if (p_ptr->has_ability(AB_PERFECT_CASTING))
{
/* Sufficient mana */
if (20 <= p_ptr->csp)