From 4a5115b41704bd608dce24ad07629276c86d2640 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 20 Apr 2018 23:35:56 +0300 Subject: [PATCH] Prevent hp-full or pw-full interrupt when running The "You are in full health" and "You feel full of energy" should only happen when repeating a command, not when running. --- src/allmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmain.c b/src/allmain.c index eab1fce3d..46572b794 100644 --- a/src/allmain.c +++ b/src/allmain.c @@ -730,7 +730,7 @@ STATIC_DCL void interrupt_multi(msg) const char *msg; { - if (multi > 0 && !context.travel) { + if (multi > 0 && !context.travel && !context.run) { nomul(0); if (flags.verbose && msg) Norep("%s", msg);