version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_apply_c = | | * static char *rcsid_apply_c = |
* "$Id: apply.c,v 1.12 2000/05/26 09:50:48 jec Exp $"; | | * "$Id: apply.c,v 1.13 2000/05/26 12:36:48 jec Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
apply_altar (trap, victim, originator); | | apply_altar (trap, victim, originator); |
return; | | return; |
| | |
| | case MMISSILE: |
| | if (QUERY_FLAG (victim, FLAG_ALIVE)) { |
| | tag_t trap_tag = trap->count; |
| | hit_player (victim, trap->stats.dam, trap, AT_MAGIC); |
| | if ( ! was_destroyed (trap, trap_tag)) { |
| | remove_ob (trap); |
| | free_object (trap); |
| | } |
| | } |
| | return; |
| | |
case ARROW: | | case ARROW: |
if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { | | if(QUERY_FLAG(victim, FLAG_ALIVE)&&trap->speed) { |
tag_t trap_tag = trap->count; | | tag_t trap_tag = trap->count; |