fix #K3577 - F+dir followed by ^A moved dir

Reported by luxidream via the web contact form and also as github
issue #732: using the repeat command after F+direction would take a
step in direction if there was no target to fight.

The direction was being repeated without the F prefix.  It wasn't
specific to F; m+dir misbehaved too.  This fix seems to work but it
should be replaced with something more robust.

Fixes #732
This commit is contained in:
PatR
2022-04-14 18:59:23 -07:00
parent 554ebc0f4c
commit da35dfe48e
2 changed files with 16 additions and 9 deletions

View File

@@ -1149,6 +1149,8 @@ sequencing confusion: picking an item when viewing inventory and picking an
program would access freed memory if charging caused a ring to explode
arriving on Valkyrie quest final level could produce impossible warning
"mkstairs: placing stairs up on molten lava at <68,13>"
if the repeat command was used after prefix+command, only the command part got
repeated
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support