version 1.36 | | version 1.37 |
---|
| | |
/* | | /* |
* static char *rcsid_disease_c = | | * static char *rcsid_disease_c = |
* "$Id: disease.c,v 1.36 2006/05/05 09:26:35 ryo_saeba Exp $"; | | * "$Id: disease.c,v 1.37 2006/06/05 06:28:56 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
Copyright (C) 2002 Mark Wedel & Crossfire Development Team | | Copyright (C) 2006 Mark Wedel & Crossfire Development Team |
Copyright (C) 1992 Frank Tore Johansen | | Copyright (C) 1992 Frank Tore Johansen |
| | |
This program is free software; you can redistribute it and/or modify | | This program is free software; you can redistribute it and/or modify |
| | |
return 1; | | return 1; |
} | | } |
| | |
| | #if 0 |
| | /* |
| | * find_disease no longer used - perhaps should be removed. |
| | * MSW 2006-06-02 |
| | */ |
| | |
/* find a disease in someone*/ | | /* find a disease in someone*/ |
static object *find_disease(object *victim) { | | static object *find_disease(object *victim) { |
object *walk; | | object *walk; |
| | |
if(walk->type==DISEASE) return walk; | | if(walk->type==DISEASE) return walk; |
return NULL; | | return NULL; |
} | | } |
| | #endif |
| | |
/* do the cure disease stuff, from the spell "cure disease" */ | | /* do the cure disease stuff, from the spell "cure disease" */ |
| | |
| | |
return 1; | | return 1; |
} | | } |
| | |
| | |
| | #if 0 |
| | /* |
| | * reduce_symptoms is no longer used - should perhaps be removed. |
| | * MSW 2006-06-02 |
| | */ |
| | |
/* reduces disease progression: reduce_symptoms | | /* reduces disease progression: reduce_symptoms |
* return true if we actually reduce a disease. | | * return true if we actually reduce a disease. |
*/ | | */ |
| | |
return success; | | return success; |
} | | } |
| | |
| | #endif |
| | |