manes are nonliving
poles and grappling hook worked thru walls when wearing Eyes of the Overworld
more tweaks to fog cloud behavior
+when dismounting by choice and unimpaired, try not to land on a boulder
Platform- and/or Interface-Specific Fixes
boolean found = FALSE;
struct trap *t;
- /* avoid known traps (i == 0), but allow them as a backup */
+ /* avoid known traps (i == 0) and boulders, but allow them as a backup */
if (reason != DISMOUNT_BYCHOICE || Stunned || Confusion || Fumbling) i = 1;
for (; !found && i < 2; ++i) {
for (x = u.ux-1; x <= u.ux+1; x++)
distance = distu(x,y);
if (min_distance < 0 || distance < min_distance ||
(distance == min_distance && rn2(2))) {
- if (i > 0 || (t = t_at(x, y)) == 0 || !t->tseen) {
+ if (i > 0 || (((t = t_at(x, y)) == 0 || !t->tseen) &&
+ (!sobj_at(BOULDER, x, y) ||
+ throws_rocks(youmonst.data)))) {
spot->x = x;
spot->y = y;
min_distance = distance;