version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_pets_c = | | * static char *rcsid_pets_c = |
* "$Id: pets.c,v 1.9 2001/08/21 05:39:30 mwedel Exp $"; | | * "$Id: pets.c,v 1.10 2001/11/26 17:52:26 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* If the owner has turned on the pet, make the pet | | /* If the owner has turned on the pet, make the pet |
* unfriendly. | | * unfriendly. |
*/ | | */ |
if ((get_enemy(owner,rv)) == pet) { | | if ((check_enemy(owner,rv)) == pet) { |
CLEAR_FLAG(pet, FLAG_FRIENDLY); | | CLEAR_FLAG(pet, FLAG_FRIENDLY); |
remove_friendly_object(pet); | | remove_friendly_object(pet); |
pet->move_type &=~PETMOVE; | | pet->move_type &=~PETMOVE; |