version 1.91 | | version 1.92 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.91 2006/07/28 21:13:14 ryo_saeba Exp $"; | | * "$Id: time.c,v 1.92 2006/08/19 20:22:21 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
generate_artifact(head, gen->map->difficulty); | | generate_artifact(head, gen->map->difficulty); |
insert_ob_in_map_at(head,gen->map,gen,0,gen->x+freearr_x[i],gen->y+freearr_y[i]); | | insert_ob_in_map_at(head,gen->map,gen,0,gen->x+freearr_x[i],gen->y+freearr_y[i]); |
if (QUERY_FLAG(head, FLAG_FREED)) return; | | if (QUERY_FLAG(head, FLAG_FREED)) return; |
| | fix_multipart_object(head); |
if(HAS_RANDOM_ITEMS(head)) | | if(HAS_RANDOM_ITEMS(head)) |
create_treasure(head->randomitems,head,GT_APPLY, | | create_treasure(head->randomitems,head,GT_APPLY, |
gen->map->difficulty,0); | | gen->map->difficulty,0); |