version 1.89 | | version 1.90 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.89 2003/10/07 07:02:02 mwedel Exp $"; | | * "$Id: apply.c,v 1.90 2003/10/14 06:54:47 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
update_ob_speed(tmp); | | update_ob_speed(tmp); |
} | | } |
else if(tmp && tmp->arch && tmp->type!=PLAYER && tmp->type!=TREASURE && | | else if(tmp && tmp->arch && tmp->type!=PLAYER && tmp->type!=TREASURE && |
tmp->type != SPELL && HAS_RANDOM_ITEMS(tmp)) | | tmp->type != SPELL && !tmp->inv && HAS_RANDOM_ITEMS(tmp)) |
create_treasure(tmp->randomitems, tmp, GT_APPLY, | | create_treasure(tmp->randomitems, tmp, GT_APPLY, |
m->difficulty,0); | | m->difficulty,0); |
} | | } |