mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-26 15:22:23 +01:00
tabbing
This commit is contained in:
parent
2c9a210510
commit
62fc8a7e6f
1 changed files with 6 additions and 6 deletions
12
src/dig.c
12
src/dig.c
|
@ -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)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue