version 1.29 | | version 1.30 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.29 2001/01/15 23:49:21 cvs Exp $"; | | * "$Id: attack.c,v 1.30 2001/01/19 05:43:31 cvs Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
op->speed_left= -0.05; | | op->speed_left= -0.05; |
return maxdam; | | return maxdam; |
} | | } |
if(QUERY_FLAG (op, FLAG_FRIENDLY)) { | | if(QUERY_FLAG (op, FLAG_FRIENDLY) && op->type != PLAYER) { |
remove_friendly_object(op); | | remove_friendly_object(op); |
if (get_owner (op) != NULL && op->owner->type == PLAYER) | | if (get_owner (op) != NULL && op->owner->type == PLAYER) |
op->owner->contr->golem=NULL; | | op->owner->contr->golem=NULL; |