version 1.21 | | version 1.22 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.21 2000/11/18 03:32:34 peterm Exp $"; | | * "$Id: attack.c,v 1.22 2000/11/21 21:52:51 peterm Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
else | | else |
tmp->stats.dam = dam; | | tmp->stats.dam = dam; |
| | |
set_owner(tmp,hitter); /* so we get credit for poisoning kills */ | | copy_owner(tmp,hitter); /* so we get credit for poisoning kills */ |
tmp->stats.food+=dam; /* more damage, longer poisoning */ | | tmp->stats.food+=dam; /* more damage, longer poisoning */ |
| | |
if(op->type==PLAYER) { | | if(op->type==PLAYER) { |