summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-18 10:49:16 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-18 10:49:16 +0000
commitfe97995cef0bcca647228af60b4b9f7c3ebc45bd (patch)
treee940781e2572d4251f6a138fc4bf321e793ca4f2 /crawl-ref/source
parentb6300bc52f2c6842179c57c011c258af02aa3bac (diff)
downloadcrawl-ref-fe97995cef0bcca647228af60b4b9f7c3ebc45bd.tar.gz
crawl-ref-fe97995cef0bcca647228af60b4b9f7c3ebc45bd.zip
Fix [2612149]: killing the Royal Jelly after drawing Vitrification
kept the walls as clear stone rather than diggable clear rock. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9125 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r--crawl-ref/source/dat/lair.des2
-rw-r--r--crawl-ref/source/monstuff.cc5
2 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/dat/lair.des b/crawl-ref/source/dat/lair.des
index ea8a56cc2a..031c4c83b8 100644
--- a/crawl-ref/source/dat/lair.des
+++ b/crawl-ref/source/dat/lair.des
@@ -893,7 +893,7 @@ LFLAGS: no_tele_control
dgn.set_feature_desc_long("stone wall",
"This strangely slime-free stone wall is carved all over with countless "..
"mystical runes. One often repeated set of runes seems to refer to "..
-"'the royal jelly'")
+"'the royal jelly.'")
}}
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 816b47d7ba..81d2c0cd67 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -768,8 +768,7 @@ static bool _slime_pit_unlock(bool 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 && see_grid(x, y))
{
in_los = true;
break;
@@ -777,6 +776,8 @@ static bool _slime_pit_unlock(bool silent)
}
replace_area_wrapper(DNGN_STONE_WALL, DNGN_CLEAR_ROCK_WALL);
+ // In case it was already vitrified, but then it's less noticeable.
+ replace_area_wrapper(DNGN_CLEAR_STONE_WALL, DNGN_CLEAR_ROCK_WALL);
if (!silent)
{