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 45fd18eb..5fd21698 100644
--- a/src/spells2.cc
+++ b/src/spells2.cc
@@ -2910,7 +2910,7 @@ bool_ enchant_spell(int num_hit, int num_dam, int num_ac, int num_pval)
if (!okay)
{
/* Flush */
- if (flush_failure) flush();
+ flush_on_failure();
/* Message */
msg_print("The enchantment failed.");