version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_skill_util_c = | | * static char *rcsid_skill_util_c = |
* "$Id: skill_util.c,v 1.9 2000/09/27 00:50:47 peterm Exp $"; | | * "$Id: skill_util.c,v 1.10 2000/10/16 19:19:31 peterm Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
/* This looks like we have an old player file, so give those basic | | /* This looks like we have an old player file, so give those basic |
* skills to the player in this case. | | * skills to the player in this case. |
*/ | | */ |
if(old_file) { | | /* No, don't do this anymore. */ |
| | if(0) { |
object *tmp2; | | object *tmp2; |
int limit = sizeof(basic_skills)/sizeof(char *); | | int limit = sizeof(basic_skills)/sizeof(char *); |
| | |
| | |
"init_player_skills() - can't find basic skill: %s\n",basic_skills[i]); | | "init_player_skills() - can't find basic skill: %s\n",basic_skills[i]); |
return 0; | | return 0; |
} | | } |
| | |
} | | } |
/* Ok, create linked list and link the associated skills to exp objects */ | | /* Ok, create linked list and link the associated skills to exp objects */ |
for(i=0;i<sk_index;i++) { | | for(i=0;i<sk_index;i++) { |