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

Function wiz_detect

src/wizcmds.c:228–236  ·  view source on GitHub ↗

the #wizdetect command - detect secret doors, traps, hidden monsters */

Source from the content-addressed store, hash-verified

226
227/* the #wizdetect command - detect secret doors, traps, hidden monsters */
228int
229wiz_detect(void)
230{
231 if (wizard)
232 (void) findit();
233 else
234 pline(unavailcmd, ecname_from_fn(wiz_detect));
235 return ECMD_OK;
236}
237
238RESTORE_WARNING_FORMAT_NONLITERAL
239

Callers

nothing calls this directly

Calls 3

finditFunction · 0.85
ecname_from_fnFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected