version 1.1 | | version 1.2 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_attack_c = | | * static char *rcsid_spell_attack_c = |
* "$Id: spell_attack.c,v 1.1 2003/09/13 05:02:13 mwedel Exp $"; | | * "$Id: spell_attack.c,v 1.2 2003/11/14 07:57:10 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
at = find_archetype(SPLINT); | | at = find_archetype(SPLINT); |
if (at) { | | if (at) { |
for(i=1;i<9;i++) { | | for(i=1;i<9;i++) { |
| | if (out_of_map(op->map, op->x + freearr_x[i], op->y + freearr_x[i])) |
| | continue; |
tmp = arch_to_object(at); | | tmp = arch_to_object(at); |
tmp->direction = i; | | tmp->direction = i; |
tmp->range = op->range; | | tmp->range = op->range; |