From ee3bb90a15c95e9c8c59805ad4b2e4edb334f288 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sun, 20 Jan 2008 03:07:16 +0000 Subject: 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 --- crawl-ref/source/tile2.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/tile2.cc') 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 -- cgit v1.2.3-54-g00ecf