version 1.8 | | version 1.9 |
---|
| | |
/* | | /* |
* static char *rcsid_gods_c = | | * static char *rcsid_gods_c = |
* "$Id: gods.c,v 1.8 2000/05/26 09:50:49 jec Exp $"; | | * "$Id: gods.c,v 1.9 2000/06/08 16:08:41 jec Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| | |
/* either holy word or godpower attacks will set the slaying field */ | | /* either holy word or godpower attacks will set the slaying field */ |
if(spellop->attacktype&AT_HOLYWORD||spellop->attacktype&AT_GODPOWER) { | | if(spellop->attacktype&AT_HOLYWORD||spellop->attacktype&AT_GODPOWER) { |
if(spellop->slaying) free_string(spellop->slaying); | | if (spellop->slaying) { |
| | free_string(spellop->slaying); |
| | spellop->slaying = NULL; |
| | } |
if(!caster_is_spell) | | if(!caster_is_spell) |
spellop->slaying = add_string(god->slaying); | | spellop->slaying = add_string(god->slaying); |
else if(caster->slaying) | | else if(caster->slaying) |