version 1.29 | | version 1.30 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.29 2002/11/12 22:34:26 garbled Exp $"; | | * "$Id: init.c,v 1.30 2002/11/12 23:09:11 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError, "load_settings: Unkown value for not_permadeth" | | LOG(llevError, "load_settings: Unkown value for not_permadeth" |
": %s\n", cp); | | ": %s\n", cp); |
} | | } |
| | } else if (!strcasecmp(buf, "resurrection")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.resurrection=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.resurrection=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for resurrection" |
| | ": %s\n", cp); |
| | } |
| | } else if (!strcasecmp(buf, "set_title")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.set_title=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.set_title=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for set_title" |
| | ": %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; |