version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.48 2002/12/31 07:19:08 mwedel Exp $"; | | * "$Id: time.c,v 1.49 2003/01/07 09:39:15 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
remove_ob(op); | | remove_ob(op); |
for(i=0;i<NROFNEWOBJS(op);i++) { | | for(i=0;i<NROFNEWOBJS(op);i++) { |
tmp=arch_to_object(op->other_arch); | | tmp=arch_to_object(op->other_arch); |
| | if (op->type == LAMP) |
| | tmp->stats.food = op->stats.food-1; |
tmp->stats.hp=op->stats.hp; /* The only variable it keeps. */ | | tmp->stats.hp=op->stats.hp; /* The only variable it keeps. */ |
if(env) { | | if(env) { |
tmp->x=env->x,tmp->y=env->y; | | tmp->x=env->x,tmp->y=env->y; |