version 1.74 | | version 1.75 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.74 2005/09/25 18:36:02 ryo_saeba Exp $"; | | * "$Id: time.c,v 1.75 2005/10/07 17:54:48 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
i=find_free_spot(op->arch,gen->map,gen->x,gen->y,1,9); | | i=find_free_spot(op->arch,gen->map,gen->x,gen->y,1,9); |
if (i==-1) | | if (i==-1) |
return; | | return; |
head=ObjectCreateClone(op); | | head=object_create_clone(op); |
CLEAR_FLAG(head, FLAG_IS_A_TEMPLATE); | | CLEAR_FLAG(head, FLAG_IS_A_TEMPLATE); |
unflag_inv (head,FLAG_IS_A_TEMPLATE); | | unflag_inv (head,FLAG_IS_A_TEMPLATE); |
if (rndm(0, 9)) | | if (rndm(0, 9)) |