Fix repeating untrapping

... or any that use getdir to ask direction.
This commit is contained in:
Pasi Kallinen
2022-08-12 12:02:48 +03:00
parent db1ef8172e
commit d062f4c4d8

View File

@@ -4824,6 +4824,8 @@ getdir(const char *s)
} else {
dirsym = g.Cmd.dirchars[(cmdq->dirz > 0) ? DIR_DOWN : DIR_UP];
}
} else if (cmdq->typ == CMDQ_KEY) {
dirsym = cmdq->key;
} else {
cmdq_clear(CQ_CANNED);
dirsym = '\0';