summaryrefslogtreecommitdiff
path: root/src/powers.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
commit6006546b4d015619b7d119d400fac819da6bc826 (patch)
tree2a1704a5c22cf2485917185316af0a5417a3de55 /src/powers.cc
parent6adef091b0713941e1149ecf21a5ab6feee3b06d (diff)
Factor out 'flush_failure' option handling
Diffstat (limited to 'src/powers.cc')
-rw-r--r--src/powers.cc2
1 files changed, 1 insertions, 1 deletions
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);