version 1.74 | | version 1.75 |
---|
| | |
/* | | /* |
* static char *rcsid_spell_util_c = | | * static char *rcsid_spell_util_c = |
* "$Id: spell_util.c,v 1.74 2003/01/17 06:23:55 mwedel Exp $"; | | * "$Id: spell_util.c,v 1.75 2003/01/23 07:38:44 mwedel Exp $"; |
*/ | | */ |
| | |
| | |
| | |
int x=op->x+freearr_x[absdir(dir+i)], | | int x=op->x+freearr_x[absdir(dir+i)], |
y=op->y+freearr_y[absdir(dir+i)]; | | y=op->y+freearr_y[absdir(dir+i)]; |
| | |
if(get_map_flags(op->map,NULL, x,y, NULL, NULL) & P_WALL) | | if(get_map_flags(op->map,NULL, x,y, NULL, NULL) & (P_WALL | P_OUT_OF_MAP)) |
continue; | | continue; |
| | |
success=1; | | success=1; |