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/cmd1.cc | |
parent | 6adef091b0713941e1149ecf21a5ab6feee3b06d (diff) |
Factor out 'flush_failure' option handling
Diffstat (limited to 'src/cmd1.cc')
-rw-r--r-- | src/cmd1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd1.cc b/src/cmd1.cc index 71096f7f..d0541eb3 100644 --- a/src/cmd1.cc +++ b/src/cmd1.cc @@ -2699,7 +2699,7 @@ static bool_ easy_open_door(int y, int x) else { /* Failure */ - if (flush_failure) flush(); + flush_on_failure(); /* Message */ msg_print("You failed to pick the lock."); |