diff options
-rw-r--r-- | crawl-ref/source/monstuff.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 408382d387..f185c639f2 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -766,12 +766,18 @@ static bool _slime_pit_unlock(bool silent) if (!silent) { for (int x = 0; x < GXM && !in_los; ++x) + { for (int y = 0; y < GYM; ++y) - if (grd[x][y] == DNGN_STONE_WALL && see_grid(x, y)) + { + if ((grd[x][y] == DNGN_STONE_WALL + || grd[x][y] == DNGN_CLEAR_ROCK_WALL) + && see_grid(x, y)) { in_los = true; break; } + } + } } replace_area_wrapper(DNGN_STONE_WALL, DNGN_CLEAR_ROCK_WALL); |