Permit blind feeling for objects on trapdoor
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.
This commit is contained in:
@@ -3431,7 +3431,8 @@ look_here(int obj_cnt, /* obj_cnt > 0 implies that autopickup is in progress */
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user