version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.48 2003/03/24 06:58:33 mwedel Exp $"; | | * "$Id: init.c,v 1.49 2003/08/27 00:00:47 temitchell Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevError,"load_settings: Unkown value for simple_exp: %s\n", | | LOG(llevError,"load_settings: Unkown value for simple_exp: %s\n", |
cp); | | cp); |
} | | } |
| | } else if (!strcasecmp(buf, "set_friendly_fire")) { |
| | int val = atoi(cp); |
| | |
| | if (val < 1 || val >100) |
| | LOG(llevError, "load_settings: set_friendly_fire must be between 1 an 100" |
| | ", %d is invalid\n", val); |
| | else |
| | settings.set_friendly_fire = val; |
} else { | | } else { |
LOG(llevError,"Unknown value in settings file: %s\n", buf); | | LOG(llevError,"Unknown value in settings file: %s\n", buf); |
} | | } |
| | |
| | |
return test; | | return test; |
} | | } |
| | |