version 1.135 | | version 1.136 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.135 2005/09/09 21:09:40 akirschbaum Exp $"; | | * "$Id: apply.c,v 1.136 2005/09/13 19:41:09 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
tmp->randomitems = NULL; | | tmp->randomitems = NULL; |
} | | } |
else if(tmp->type==TIMED_GATE) { | | else if(tmp->type==TIMED_GATE) { |
| | object *head = tmp->head != NULL ? tmp->head : tmp; |
| | if (QUERY_FLAG(head, FLAG_IS_LINKED)) { |
tmp->speed = 0; | | tmp->speed = 0; |
update_ob_speed(tmp); | | update_ob_speed(tmp); |
} | | } |
| | } |
/* This function can be called everytime a map is loaded, even when | | /* This function can be called everytime a map is loaded, even when |
* swapping back in. As such, we don't want to create the treasure | | * swapping back in. As such, we don't want to create the treasure |
* over and ove again, so after we generate the treasure, blank out | | * over and ove again, so after we generate the treasure, blank out |