version 1.110 | | version 1.111 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.110 2005/08/16 20:31:40 cavesomething Exp $"; | | * "$Id: attack.c,v 1.111 2005/09/13 06:46:35 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if (friendly) { | | if (friendly) { |
SET_FLAG(tmp, FLAG_FRIENDLY); | | SET_FLAG(tmp, FLAG_FRIENDLY); |
add_friendly_object(tmp); | | add_friendly_object(tmp); |
tmp->move_type = PETMOVE; | | tmp->attack_movement = PETMOVE; |
if (owner!=NULL) | | if (owner!=NULL) |
set_owner(tmp,owner); | | set_owner(tmp,owner); |
} | | } |