From 672df2f6a49ff8683255e5bad316674d16285f0c Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Tue, 10 Nov 2009 14:34:37 +0100 Subject: Add conditional bloodifying function and use it in some places. This might help the reported blood-covered deep water, though I didn't see any obvious case that was a likely cause. --- crawl-ref/source/dungeon.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/dungeon.cc') diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 096700f6f2..adb5ada5c6 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -6547,7 +6547,7 @@ static void _labyrinth_add_blood_trail(const dgn_region ®ion) if (path.size() < 10) continue; - env.pgrid(start) |= FPROP_BLOODY; + maybe_bloodify_square(start); #ifdef WIZARD env.pgrid(start) |= FPROP_HIGHLIGHT; #endif @@ -6560,7 +6560,7 @@ static void _labyrinth_add_blood_trail(const dgn_region ®ion) if (step < 2 || step < 12 && coinflip() || step >= 12 && one_chance_in(step/4)) { - env.pgrid(pos) |= FPROP_BLOODY; + maybe_bloodify_square(pos); } #ifdef WIZARD env.pgrid(pos) |= FPROP_HIGHLIGHT; -- cgit v1.2.3-54-g00ecf