From 721c4b77aa3b4e694bd18572956d895694120810 Mon Sep 17 00:00:00 2001 From: Michael Meyer Date: Fri, 10 Jun 2022 10:51:15 -0400 Subject: [PATCH] Fix: running through quest expulsion If a player was in the process of running past the quest leader when she got expelled from the quest, she would continue running out of the quest portal on the portal level. Interrupt any running (or other multi-turn action) when expelling the hero from the quest level. --- src/quest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quest.c b/src/quest.c index 306b7a56b..ad1b56949 100644 --- a/src/quest.c +++ b/src/quest.c @@ -194,6 +194,7 @@ expulsion(boolean seal) dest = (br->end1.dnum == u.uz.dnum) ? &br->end2 : &br->end1; if (seal) portal_flag |= UTOTYPE_RMPORTAL; + nomul(0); /* stop running */ schedule_goto(dest, portal_flag, (char *) 0, (char *) 0); if (seal) { /* remove the portal to the quest - sealing it off */ int reexpelled = u.uevent.qexpelled;