diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 6006546b4d015619b7d119d400fac819da6bc826 (patch) | |
tree | 2a1704a5c22cf2485917185316af0a5417a3de55 /src/cmd3.cc | |
parent | 6adef091b0713941e1149ecf21a5ab6feee3b06d (diff) |
Factor out 'flush_failure' option handling
Diffstat (limited to 'src/cmd3.cc')
-rw-r--r-- | src/cmd3.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd3.cc b/src/cmd3.cc index 9a4e3fc2..dd837906 100644 --- a/src/cmd3.cc +++ b/src/cmd3.cc @@ -1595,7 +1595,7 @@ bool_ do_cmd_sense_grid_mana() /* Roll for usage */ if ((chance < USE_DEVICE) || (randint(chance) < USE_DEVICE)) { - if (flush_failure) flush(); + flush_on_failure(); msg_print("You failed to sense the grid's mana."); return FALSE; } |