version 1.95 | | version 1.96 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.95 2003/12/21 02:13:46 mwedel Exp $"; | | * "$Id: attack.c,v 1.96 2004/03/23 07:52:31 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* to credit exp to. This is a bit problematic - we should | | * to credit exp to. This is a bit problematic - we should |
* probably never really have to look at current_weapon->skill | | * probably never really have to look at current_weapon->skill |
*/ | | */ |
| | skill = NULL; |
if (hitter->skill && hitter->type!=PLAYER) skill = hitter->skill; | | if (hitter->skill && hitter->type!=PLAYER) skill = hitter->skill; |
else if (owner->chosen_skill) { | | else if (owner->chosen_skill) { |
skill = owner->chosen_skill->skill; | | skill = owner->chosen_skill->skill; |