version 1.32 | | version 1.33 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.32 2002/11/13 00:26:13 garbled Exp $"; | | * "$Id: init.c,v 1.33 2002/11/13 00:49:47 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError, "load_settings: Unkown value for" | | LOG(llevError, "load_settings: Unkown value for" |
"spell_failure_effects: %s\n", cp); | | "spell_failure_effects: %s\n", cp); |
} | | } |
| | } else if (!strcasecmp(buf, "casting_time")) { |
| | if (!strcasecmp(cp, "on") || !strcasecmp(cp, "true")) { |
| | settings.casting_time=TRUE; |
| | } else if (!strcasecmp(cp, "off") || !strcasecmp(cp, "false")) { |
| | settings.casting_time=FALSE; |
| | } else { |
| | LOG(llevError, "load_settings: Unkown value for" |
| | "casting_time: %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; |