version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.28 2002/11/08 08:54:07 garbled Exp $"; | | * "$Id: init.c,v 1.29 2002/11/12 22:34:26 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
", %d is invalid\n", lev); | | ", %d is invalid\n", lev); |
else | | else |
settings.fastclock = lev; | | settings.fastclock = lev; |
| | }else if (!strcasecmp(buf, "not_permadeth")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.not_permadeth=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.not_permadeth=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for not_permadeth" |
| | ": %s\n", cp); |
| | } |
} else if (!strcasecmp(buf,"simple_exp")) { | | } else if (!strcasecmp(buf,"simple_exp")) { |
if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { | | if (!strcasecmp(cp,"on") || !strcasecmp(cp,"true")) { |
settings.simple_exp=TRUE; | | settings.simple_exp=TRUE; |