version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_pets_c = | | * static char *rcsid_pets_c = |
* "$Id: pets.c,v 1.28 2005/07/17 04:19:49 qal21 Exp $"; | | * "$Id: pets.c,v 1.29 2005/07/17 11:48:33 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
return; | | return; |
} | | } |
dir = find_free_spot(ob->arch, owner->map, | | dir = find_free_spot(ob->arch, owner->map, |
owner->x, owner->y, 1, SIZEOFFREE+1); | | owner->x, owner->y, 1, SIZEOFFREE); |
| | |
if (dir==-1) { | | if (dir==-1) { |
LOG(llevMonster,"No space for pet to follow, freeing %s.\n",ob->name); | | LOG(llevMonster,"No space for pet to follow, freeing %s.\n",ob->name); |