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/powers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/powers.cc') diff --git a/src/powers.cc b/src/powers.cc index b58eb164..8edfb7b5 100644 --- a/src/powers.cc +++ b/src/powers.cc @@ -122,7 +122,7 @@ static bool_ power_chance(power_type *x_ptr) return (TRUE); } - if (flush_failure) flush(); + flush_on_failure(); msg_print("You've failed to concentrate hard enough."); return (FALSE); -- cgit v1.2.3