MCPcopy Create free account
hub / github.com/NetHack/NetHack / authorize_wizard_mode

Function authorize_wizard_mode

sys/windows/windmain.c:850–856  ·  view source on GitHub ↗

validate wizard mode if player has requested access to it */

Source from the content-addressed store, hash-verified

848
849/* validate wizard mode if player has requested access to it */
850boolean
851authorize_wizard_mode(void)
852{
853 if (!strcmp(svp.plname, WIZARD_NAME))
854 return TRUE;
855 return FALSE;
856}
857
858/* similar to above, validate explore mode access */
859boolean

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected