version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.20 2000/11/17 11:16:45 peterm Exp $"; | | * "$Id: attack.c,v 1.21 2000/11/18 03:32:34 peterm Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
/* peterm: a few special cases for special attacktypes --counterspell | | /* peterm: a few special cases for special attacktypes --counterspell |
must be out here because it strikes things which are not alive*/ | | must be out here because it strikes things which are not alive*/ |
if(type&AT_COUNTERSPELL) { | | if(type&AT_COUNTERSPELL) { |
counterspell(op); /* see newspells.c */ | | counterspell(op,dir); /* see newspells.c */ |
if(!(type & ~(AT_COUNTERSPELL|AT_MAGIC))){ | | if(!(type & ~(AT_COUNTERSPELL|AT_MAGIC))){ |
#ifdef NO_CONE_PROPOGATE | | #ifdef NO_CONE_PROPOGATE |
return 1; | | return 1; |