| 983 | |
| 984 | |
| 985 | staticfn void |
| 986 | sel_set_wall_property(coordxy x, coordxy y, genericptr_t arg) |
| 987 | { |
| 988 | int prop = *(int *) arg; |
| 989 | |
| 990 | if (IS_STWALL(levl[x][y].typ) || IS_TREE(levl[x][y].typ) |
| 991 | /* 3.6.2: made iron bars eligible to be flagged nondiggable |
| 992 | (checked by chewing(hack.c) and zap_over_floor(zap.c)) */ |
| 993 | || levl[x][y].typ == IRONBARS) |
| 994 | levl[x][y].wall_info |= prop; |
| 995 | } |
| 996 | |
| 997 | /* |
| 998 | * Make walls of the area (x1, y1, x2, y2) non diggable/non passwall-able |