version 1.15 | | version 1.16 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.15 2000/12/27 07:53:35 cvs Exp $"; | | * "$Id: disease.c,v 1.16 2001/05/24 07:15:01 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
/* Unfortunately, set_owner does the wrong thing to the skills pointers | | /* Unfortunately, set_owner does the wrong thing to the skills pointers |
resulting in exp going into the owners *current* chosen skill. */ | | resulting in exp going into the owners *current* chosen skill. */ |
| | |
if(disease->owner) { | | if(get_owner(disease)) { |
set_owner(new_disease,disease->owner); | | set_owner(new_disease,disease->owner); |
new_disease->chosen_skill = disease->chosen_skill; | | new_disease->chosen_skill = disease->chosen_skill; |
new_disease->exp_obj = disease->exp_obj; | | new_disease->exp_obj = disease->exp_obj; |