diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-03 10:33:31 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-03 10:33:31 +0000 |
commit | 240d2022a003e137a8f32e7dd8985e8cb2871f8b (patch) | |
tree | fd5d5a5f66bef205f2c35d5666d7a7012b23a9b7 /crawl-ref/source/misc.cc | |
parent | 1e6c29fcdad466fe9bbae6326ef19bcad8e73707 (diff) | |
download | crawl-ref-240d2022a003e137a8f32e7dd8985e8cb2871f8b.tar.gz crawl-ref-240d2022a003e137a8f32e7dd8985e8cb2871f8b.zip |
Fix summoned monsters spattering blood.
Fix menu colouring giving away unknown evil items.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5456 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 32f378197e..edc211f8f1 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1167,6 +1167,7 @@ static void maybe_bloodify_square(int x, int y, int amount, bool spatter = false // or, for sacrifices, on the number of chunks possible to get out of a corpse. void bleed_onto_floor(int x, int y, int montype, int damage, bool spatter) { + ASSERT(in_bounds(x,y)); if (!victim_can_bleed(montype)) return; |