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

Function cnf_line_ENTRYMAX

src/cfgfiles.c:994–1005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992}
993
994staticfn boolean
995cnf_line_ENTRYMAX(char *bufp)
996{
997 int n = atoi(bufp);
998
999 if (n < 10) {
1000 config_error_add("Illegal value in ENTRYMAX (minimum is 10)");
1001 n = 10;
1002 }
1003 sysopt.entrymax = n;
1004 return TRUE;
1005}
1006
1007staticfn boolean
1008cnf_line_POINTSMIN(char *bufp)

Callers

nothing calls this directly

Calls 1

config_error_addFunction · 0.85

Tested by

no test coverage detected