From 6006546b4d015619b7d119d400fac819da6bc826 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 17 Sep 2016 09:58:14 +0200 Subject: Factor out 'flush_failure' option handling --- src/randart.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/randart.cc') diff --git a/src/randart.cc b/src/randart.cc index 9528faee..e22f1c93 100644 --- a/src/randart.cc +++ b/src/randart.cc @@ -458,7 +458,7 @@ bool_ artifact_scroll(void) if (!okay) { /* Flush */ - if (flush_failure) flush(); + flush_on_failure(); /* Message */ msg_print("The enchantment failed."); -- cgit v1.2.3