version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.62 2005/06/22 18:22:15 ryo_saeba Exp $"; | | * "$Id: init.c,v 1.63 2005/07/10 12:55:31 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
sint16 val = atoi(cp); | | sint16 val = atoi(cp); |
| | |
if (val < -100 || val >100) | | if (val < -100 || val >100) |
LOG(llevError, "load_settings: pk_luck_penalty must be between -10 and 10" | | LOG(llevError, "load_settings: pk_luck_penalty must be between -100 and 100" |
", %d is invalid\n", val); | | ", %d is invalid\n", val); |
else | | else |
settings.pk_luck_penalty = val; | | settings.pk_luck_penalty = val; |