summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile2.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-20 03:07:16 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-20 03:07:16 +0000
commitee3bb90a15c95e9c8c59805ad4b2e4edb334f288 (patch)
treecfa80739902053ec343e79a90ec96047cadc0f6d /crawl-ref/source/tile2.cc
parente11ef227c885bc08467a0b8ced4e8cad8675d5a0 (diff)
downloadcrawl-ref-ee3bb90a15c95e9c8c59805ad4b2e4edb334f288.tar.gz
crawl-ref-ee3bb90a15c95e9c8c59805ad4b2e4edb334f288.zip
Added rock worm and transparent wall tiles from Denzi.
Added blood splatter. More tile code cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3304 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r--crawl-ref/source/tile2.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc
index 23ecf4fa6a..1a92a9b4ad 100644
--- a/crawl-ref/source/tile2.cc
+++ b/crawl-ref/source/tile2.cc
@@ -694,7 +694,11 @@ void tcache_compose_normal(int ix, int *fg, int *bg)
if (bbg)
tcache_overlay(tc_img, ix, bbg, TREGION_0_NORMAL, &c, NULL);
- if(new_bg)
+
+ if (bg0 & TILE_FLAG_BLOOD)
+ tcache_overlay(tc_img, ix, TILE_BLOOD0, TREGION_0_NORMAL, &c, NULL);
+
+ if (new_bg)
tcache_overlay(tc_img, ix, new_bg, TREGION_0_NORMAL, &c, NULL);
// Tile cursor