From c0c617c4135ddd2f9dbf87fbf1a5d655cab70a1f Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 29 Jul 2021 21:18:20 +0300 Subject: [PATCH] Try fixing interrupted travel oddities My earlier commit (433f0cc) changed traveling, and caused some strange problems when travel was interrupted. This seems to fix those problems. --- src/hack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hack.c b/src/hack.c index 0e68af90d..d95542b44 100644 --- a/src/hack.c +++ b/src/hack.c @@ -3006,6 +3006,7 @@ end_running(boolean and_travel) if (flags.time && g.context.run) iflags.time_botl = TRUE; g.context.run = 0; + g.domove_attempting = 0; /* 'context.mv' isn't travel but callers who want to end travel all clear it too */ if (and_travel)