1 | |
1 | |
2 | /* |
2 | /* |
3 | * static char *rcsid_spell_attack_c = |
3 | * static char *rcsid_spell_attack_c = |
4 | * "$Id: spell_attack.C,v 1.11 2006/09/11 20:26:41 root Exp $"; |
4 | * "$Id: spell_attack.C,v 1.12 2006/09/14 21:16:13 root Exp $"; |
5 | */ |
5 | */ |
6 | |
6 | |
7 | |
7 | |
8 | /* |
8 | /* |
9 | CrossFire, A Multiplayer game for X-windows |
9 | CrossFire, A Multiplayer game for X-windows |
… | |
… | |
1045 | |
1045 | |
1046 | /* This copies a lot of the code from the fire bullet, |
1046 | /* This copies a lot of the code from the fire bullet, |
1047 | * but using the cast_bullet isn't really feasible, |
1047 | * but using the cast_bullet isn't really feasible, |
1048 | * so just set up the appropriate values. |
1048 | * so just set up the appropriate values. |
1049 | */ |
1049 | */ |
1050 | at = find_archetype (SPLINT); |
1050 | at = archetype::find (SPLINT); |
1051 | if (at) |
1051 | if (at) |
1052 | { |
1052 | { |
1053 | for (i = 1; i < 9; i++) |
1053 | for (i = 1; i < 9; i++) |
1054 | { |
1054 | { |
1055 | if (out_of_map (op->map, op->x + freearr_x[i], op->y + freearr_x[i])) |
1055 | if (out_of_map (op->map, op->x + freearr_x[i], op->y + freearr_x[i])) |