Items on a trap door or on the edge of a hole are accessible (they can
be picked up, kicked, etc), but these locations were considered
inaccessible for purposes of feeling the ground for objects while blind.
}
if (dfeature && !drift && !strcmp(dfeature, surface(u.ux, u.uy)))
dfeature = 0; /* ice already identified */
- if (!can_reach_floor(TRUE)) {
+ trap = t_at(u.ux, u.uy);
+ if (!can_reach_floor(trap && is_pit(trap->ttyp))) {
pline("But you can't reach it!");
return 0;
}