Fix ESC so it cancels the movement prefix commands

My changes to turn the movement and prefix commands into
extended commands broke this.
This commit is contained in:
Pasi Kallinen
2022-01-24 19:48:40 +02:00
parent 6ed315ecf8
commit 4130a3a6ae

View File

@@ -3784,6 +3784,11 @@ got_prefix_input:
if (*cmd == g.Cmd.spkeys[NHKF_ESC]) {
g.context.move = FALSE;
iflags.menu_requested = FALSE;
g.context.run = 0;
g.context.nopick = g.context.forcefight = FALSE;
g.context.mv = FALSE;
g.multi = 0;
g.domove_attempting = 0;
return;
}