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

Function cnf_line_HACKDIR

src/cfgfiles.c:637–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637staticfn boolean
638cnf_line_HACKDIR(char *bufp)
639{
640#ifdef NOCWD_ASSUMPTIONS
641 adjust_prefix(bufp, HACKPREFIX);
642#else /*NOCWD_ASSUMPTIONS*/
643#ifdef MICRO
644 (void) strncpy(gh.hackdir, bufp, PATHLEN - 1);
645#else /* MICRO */
646 nhUse(bufp);
647#endif /* MICRO */
648#endif /*NOCWD_ASSUMPTIONS*/
649 return TRUE;
650}
651
652staticfn boolean
653cnf_line_LEVELDIR(char *bufp)

Callers

nothing calls this directly

Calls 1

adjust_prefixFunction · 0.85

Tested by

no test coverage detected