MCPcopy Index your code
hub / github.com/NetHack/NetHack / do_reqmenu

Function do_reqmenu

src/cmd.c:1574–1586  ·  view source on GitHub ↗

#reqmenu, prefix command to modify some others */

Source from the content-addressed store, hash-verified

1572
1573/* #reqmenu, prefix command to modify some others */
1574int
1575do_reqmenu(void)
1576{
1577 if (iflags.menu_requested) {
1578 Norep("Double %s prefix, canceled.",
1579 visctrl(cmd_from_func(do_reqmenu)));
1580 iflags.menu_requested = FALSE;
1581 return ECMD_CANCEL;
1582 }
1583
1584 iflags.menu_requested = TRUE;
1585 return ECMD_OK;
1586}
1587
1588/* #rush */
1589int

Callers

nothing calls this directly

Calls 3

NorepFunction · 0.85
visctrlFunction · 0.85
cmd_from_funcFunction · 0.85

Tested by

no test coverage detected