version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_skill_util_c = | | * static char *rcsid_skill_util_c = |
* "$Id: skill_util.c,v 1.28 2002/07/15 04:57:13 mwedel Exp $"; | | * "$Id: skill_util.c,v 1.29 2002/09/07 22:08:07 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
int cat,bexp,time,stat1,stat2,stat3,skillindex; | | int cat,bexp,time,stat1,stat2,stat3,skillindex; |
float lexp; | | float lexp; |
| | |
sprintf(fname,"%s/%s",settings.datadir,"skill_params"); | | sprintf(fname,"%s/%s",settings.confdir,"skill_params"); |
LOG(llevDebug,"Reading skill_params from %s...",fname); | | LOG(llevDebug,"Reading skill_params from %s...",fname); |
if(! (skill_params=fopen(fname,"r"))) | | if(! (skill_params=fopen(fname,"r"))) |
{ | | { |