version 1.10 | | version 1.11 |
---|
| | |
| | |
/* | | /* |
* static char *rcs_treasure_c = | | * static char *rcs_treasure_c = |
* "$Id: treasure.c,v 1.10 2001/04/21 01:22:43 mardahl Exp $"; | | * "$Id: treasure.c,v 1.11 2001/04/25 07:46:57 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
SET_FLAG(op,FLAG_MAKE_INVIS); | | SET_FLAG(op,FLAG_MAKE_INVIS); |
if (QUERY_FLAG(change,FLAG_STAND_STILL)) { | | if (QUERY_FLAG(change,FLAG_STAND_STILL)) { |
CLEAR_FLAG(op,FLAG_ANIMATE); | | CLEAR_FLAG(op,FLAG_ANIMATE); |
op->speed = 0.0; | | /*op->speed = 0.0; */ /* why was this done? */ |
update_ob_speed(op); | | update_ob_speed(op); |
} | | } |
if(change->nrof) op->nrof=RANDOM()%((int) change->nrof) + 1; | | if(change->nrof) op->nrof=RANDOM()%((int) change->nrof) + 1; |