Entering a count to repeat an action stopped working for counts greater
than 2 after
93db2a8: the unconditional call to reset_cmd_vars at the
top of rhack was resetting many more variables than had previously been
cleared at that point, including g.multi (which in this context tracks
how many more times the requested action should be repeated). As a
result any count would perform the requested action twice at most.
Reduce the list of variables zeroed out at the start of rhack back to
what it was before
93db2a8.
const struct ext_func_tab *cmdq_ec = 0, *prefix_seen = 0;
boolean was_m_prefix = FALSE;
- reset_cmd_vars(FALSE);
+ iflags.menu_requested = FALSE;
+ g.context.nopick = 0;
got_prefix_input:
#ifdef SAFERHANGUP
if (g.program_state.done_hup)