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.
This commit is contained in:
Pasi Kallinen
2018-04-20 23:35:56 +03:00
parent 01abfa8c3d
commit 4a5115b417

View File

@@ -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);