version 1.25 | | version 1.26 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.25 2003/04/02 08:13:28 mwedel Exp $"; | | * "$Id: disease.c,v 1.26 2003/04/10 05:21:48 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
*/ | | */ |
| | |
int remove_symptoms(object *disease) { | | int remove_symptoms(object *disease) { |
object *symptom, *victim; | | object *symptom, *victim=NULL; |
| | |
while ((symptom = find_symptom(disease)) != NULL) { | | while ((symptom = find_symptom(disease)) != NULL) { |
if (!victim) victim=symptom->env; | | if (!victim) victim=symptom->env; |