Fix digging through iron bars from adjacent pit

It was possible to create a pit on top of iron bars, by first creating
a pit next to the bars, going down into the pit, and then digging sideways
towards the bars. This did not destroy the iron bars.
This commit is contained in:
Pasi Kallinen
2020-02-08 17:00:03 +02:00
parent d02bf5d1d0
commit 9e4319824d
2 changed files with 2 additions and 0 deletions

View File

@@ -1635,6 +1635,7 @@ char *msg;
} else if (ltyp == IRONBARS) {
/* "set of iron bars" */
Strcpy(msg, "The bars go much deeper than your pit.");
return FALSE;
#if 0
} else if (is_lava(cc->x, cc->y)) {
} else if (is_ice(cc->x, cc->y)) {