summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-08-04 13:34:36 -0400
committerNeil Moore <neil@s-z.org>2012-08-04 13:34:36 -0400
commit7d82df6c3cb559c1a7423225640b46a7927db6cc (patch)
tree27d74e03ea7543153d8eb28af7701283f4a472b3 /crawl-ref/source/tiledgnbuf.cc
parentca705f4095e421bc8e447852942783058bc1c27b (diff)
downloadcrawl-ref-7d82df6c3cb559c1a7423225640b46a7927db6cc.tar.gz
crawl-ref-7d82df6c3cb559c1a7423225640b46a7927db6cc.zip
Don't draw mud on top of walls (#5819).
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 9754992932..9f57a317d0 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -174,7 +174,7 @@ void DungeonCellBuffer::draw()
void DungeonCellBuffer::add_blood_overlay(int x, int y, const packed_cell &cell,
bool is_wall)
{
- if (cell.is_liquefied)
+ if (cell.is_liquefied && !is_wall)
{
int offset = cell.flv.special % tile_dngn_count(TILE_LIQUEFACTION);
m_buf_feat.add(TILE_LIQUEFACTION + offset, x, y);