version 1.4 | | version 1.5 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.4 1999/07/13 06:03:04 cvs Exp $"; | | * "$Id: apply.c,v 1.5 1999/08/06 21:04:58 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(lighter->last_eat && lighter->stats.food) /* lighter is used up */ | | if(lighter->last_eat && lighter->stats.food) /* lighter is used up */ |
lighter->stats.food--; | | lighter->stats.food--; |
else if(lighter->last_eat) { /* no charges left in lighter */ | | else if(lighter->last_eat) { /* no charges left in lighter */ |
new_draw_info_format(NDI_UNIQUE, 0,who,"You ateempt to light the %s with the %s and nothing happens.", item->name, lighter->name); | | new_draw_info_format(NDI_UNIQUE, 0,who,"You attempt to light the %s with the %s and nothing happens.", item->name, lighter->name); |
return; | | return; |
} | | } |
nrof=item->nrof; | | nrof=item->nrof; |