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

Function wiz_where

src/wizcmds.c:217–225  ·  view source on GitHub ↗

#wizwhere command - display dungeon layout */

Source from the content-addressed store, hash-verified

215
216/* #wizwhere command - display dungeon layout */
217int
218wiz_where(void)
219{
220 if (wizard)
221 (void) print_dungeon(FALSE, (schar *) 0, (xint16 *) 0);
222 else
223 pline(unavailcmd, ecname_from_fn(wiz_where));
224 return ECMD_OK;
225}
226
227/* the #wizdetect command - detect secret doors, traps, hidden monsters */
228int

Callers

nothing calls this directly

Calls 3

print_dungeonFunction · 0.85
ecname_from_fnFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected