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

Function cnf_line_ACCESSIBILITY

src/cfgfiles.c:1120–1131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118}
1119
1120staticfn boolean
1121cnf_line_ACCESSIBILITY(char *bufp)
1122{
1123 int n = atoi(bufp);
1124
1125 if (n < 0 || n > 1) {
1126 config_error_add("Illegal value in ACCESSIBILITY (not 0,1)");
1127 n = 0;
1128 }
1129 sysopt.accessibility = n;
1130 return TRUE;
1131}
1132
1133staticfn boolean
1134cnf_line_PORTABLE_DEVICE_PATHS(char *bufp)

Callers

nothing calls this directly

Calls 1

config_error_addFunction · 0.85

Tested by

no test coverage detected