summaryrefslogtreecommitdiff
path: root/src/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/spells2.cc')
-rw-r--r--src/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spells2.cc b/src/spells2.cc
index 0cdf08ed..bc5b8642 100644
--- a/src/spells2.cc
+++ b/src/spells2.cc
@@ -3623,7 +3623,7 @@ bool_ recharge(int power)
/*** Determine Seriousness of Failure ***/
/* Mages recharge objects more safely. */
- if (has_ability(AB_PERFECT_CASTING))
+ if (p_ptr->has_ability(AB_PERFECT_CASTING))
{
/* 10% chance to blow up one rod, otherwise draining. */
if (o_ptr->tval == TV_ROD_MAIN)