1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-26 15:22:23 +01:00
This commit is contained in:
Chris-plus-alphanumericgibberish 2015-04-22 02:57:05 -04:00
parent 2c9a210510
commit 62fc8a7e6f

View file

@ -1896,17 +1896,17 @@ register int zx, zy, digdepth;
break; break;
} else if (IS_TREE(room->typ)) { /* check trees before stone */ } else if (IS_TREE(room->typ)) { /* check trees before stone */
if (!(room->wall_info & W_NONDIGGABLE)) { if (!(room->wall_info & W_NONDIGGABLE)) {
room->typ = ROOM; room->typ = ROOM;
unblock_point(zx,zy); /* vision */ unblock_point(zx,zy); /* vision */
} else if (!Blind) } else if (!Blind)
pline_The("tree shudders but is unharmed."); pline_The("tree shudders but is unharmed.");
break; break;
} else if (room->typ == STONE || room->typ == SCORR) { } else if (room->typ == STONE || room->typ == SCORR) {
if (!(room->wall_info & W_NONDIGGABLE)) { if (!(room->wall_info & W_NONDIGGABLE)) {
room->typ = CORR; room->typ = CORR;
unblock_point(zx,zy); /* vision */ unblock_point(zx,zy); /* vision */
} else if (!Blind) } else if (!Blind)
pline_The("rock glows then fades."); pline_The("rock glows then fades.");
break; break;
} }
} else if (IS_ROCK(room->typ)) { } else if (IS_ROCK(room->typ)) {