version 1.121 | | version 1.122 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_effect_c = | | * static char *rcsid_spell_effect_c = |
* "$Id: spell_effect.c,v 1.121 2004/06/16 07:09:45 mwedel Exp $"; | | * "$Id: spell_effect.c,v 1.122 2004/08/20 20:02:10 akirschbaum Exp $"; |
*/ | | */ |
| | |
| | |
| | |
| | |
x = tmp->x+i*freearr_x[dir2]; | | x = tmp->x+i*freearr_x[dir2]; |
y = tmp->y+i*freearr_y[dir2]; | | y = tmp->y+i*freearr_y[dir2]; |
| | m = tmp->map; |
| | |
if(!(get_map_flags(m, &m, x, y, &x, &y) & (P_OUT_OF_MAP | P_BLOCKED)) && !posblocked) { | | if(!(get_map_flags(m, &m, x, y, &x, &y) & (P_OUT_OF_MAP | P_BLOCKED)) && !posblocked) { |
tmp2 = get_object(); | | tmp2 = get_object(); |