mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-06 07:15:15 +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;
|
||||
} else if (IS_TREE(room->typ)) { /* check trees before stone */
|
||||
if (!(room->wall_info & W_NONDIGGABLE)) {
|
||||
room->typ = ROOM;
|
||||
unblock_point(zx,zy); /* vision */
|
||||
room->typ = ROOM;
|
||||
unblock_point(zx,zy); /* vision */
|
||||
} else if (!Blind)
|
||||
pline_The("tree shudders but is unharmed.");
|
||||
pline_The("tree shudders but is unharmed.");
|
||||
break;
|
||||
} else if (room->typ == STONE || room->typ == SCORR) {
|
||||
if (!(room->wall_info & W_NONDIGGABLE)) {
|
||||
room->typ = CORR;
|
||||
unblock_point(zx,zy); /* vision */
|
||||
room->typ = CORR;
|
||||
unblock_point(zx,zy); /* vision */
|
||||
} else if (!Blind)
|
||||
pline_The("rock glows then fades.");
|
||||
pline_The("rock glows then fades.");
|
||||
break;
|
||||
}
|
||||
} else if (IS_ROCK(room->typ)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue