version 1.6 | | version 1.7 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.6 2000/12/15 03:09:19 peterm Exp $"; | | * "$Id: monster.c,v 1.7 2001/04/10 18:23:14 mardahl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
object *old_seg; | | object *old_seg; |
object *head; | | object *head; |
/* first insert the head */ | | /* first insert the head */ |
insert_ob_in_map(new_obj,map,NULL); | | insert_ob_in_map_simple(new_obj,map); |
| | |
x = new_obj->x; | | x = new_obj->x; |
y = new_obj->y; | | y = new_obj->y; |
| | |
new_seg->x = x + at->clone.x; | | new_seg->x = x + at->clone.x; |
new_seg->y = y + at->clone.y; | | new_seg->y = y + at->clone.y; |
new_seg->map = old_seg->map; | | new_seg->map = old_seg->map; |
insert_ob_in_map(new_seg,new_seg->map,NULL); | | insert_ob_in_map_simple(new_seg,new_seg->map); |
new_seg->head = head; | | new_seg->head = head; |
old_seg->more = new_seg; | | old_seg->more = new_seg; |
old_seg = new_seg; | | old_seg = new_seg; |