version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_c_range_c = | | * static char *rcsid_c_range_c = |
* "$Id: c_range.c,v 1.9 2003/09/13 05:02:09 mwedel Exp $"; | | * "$Id: c_range.c,v 1.10 2003/10/27 07:24:14 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
spob->skill, spob->name); | | spob->skill, spob->name); |
return 1; | | return 1; |
} | | } |
op->contr->ranges[range_magic] = spob; | | |
| | |
if (castnow) { | | if (castnow) { |
cast_spell(op,op,op->facing,spob,cp); | | cast_spell(op,op,op->facing,spob,cp); |
} else { | | } else { |
| | op->contr->ranges[range_magic] = spob; |
op->contr->shoottype = range_magic; | | op->contr->shoottype = range_magic; |
new_draw_info_format(NDI_UNIQUE, 0, op, | | new_draw_info_format(NDI_UNIQUE, 0, op, |
"You ready the spell %s", spob->name); | | "You ready the spell %s", spob->name); |