version 1.24 | | version 1.25 |
---|
| | |
/* | | /* |
* static char *rcsid_pets_c = | | * static char *rcsid_pets_c = |
* "$Id: pets.c,v 1.24 2004/05/12 05:52:39 mwedel Exp $"; | | * "$Id: pets.c,v 1.25 2005/03/06 20:38:54 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
follow_owner(obl->ob,owner); | | follow_owner(obl->ob,owner); |
if(QUERY_FLAG(obl->ob, FLAG_REMOVED) && FABS(obl->ob->speed) > MIN_ACTIVE_SPEED) { | | if(QUERY_FLAG(obl->ob, FLAG_REMOVED) && FABS(obl->ob->speed) > MIN_ACTIVE_SPEED) { |
object *ob = obl->ob; | | object *ob = obl->ob; |
LOG(llevMonster,"(pet failed to follow)"); | | LOG(llevMonster,"(pet failed to follow)\n"); |
remove_friendly_object(ob); | | remove_friendly_object(ob); |
free_object(ob); | | free_object(ob); |
} | | } |