version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_pets_c = | | * static char *rcsid_pets_c = |
* "$Id: pets.c,v 1.7 2001/05/23 06:14:41 mwedel Exp $"; | | * "$Id: pets.c,v 1.8 2001/07/14 04:11:18 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
tmp->x = owner->x + freearr_x[dir]+(tmp->arch==NULL?0:tmp->arch->clone.x); | | tmp->x = owner->x + freearr_x[dir]+(tmp->arch==NULL?0:tmp->arch->clone.x); |
tmp->y = owner->y + freearr_y[dir]+(tmp->arch==NULL?0:tmp->arch->clone.y); | | tmp->y = owner->y + freearr_y[dir]+(tmp->arch==NULL?0:tmp->arch->clone.y); |
} | | } |
insert_ob_in_map(ob, owner->map, NULL); | | insert_ob_in_map(ob, owner->map, NULL,0); |
if (owner->type == PLAYER) /* Uh, I hope this is always true... */ | | if (owner->type == PLAYER) /* Uh, I hope this is always true... */ |
new_draw_info(NDI_UNIQUE, 0,owner, "Your pet magically appears next to you"); | | new_draw_info(NDI_UNIQUE, 0,owner, "Your pet magically appears next to you"); |
return; | | return; |