From 57f3e71ae59d5e4830bdf787d9f2d5e9d5fe8fc8 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 25 Sep 2008 17:30:31 +0000 Subject: In ouch(), use NON_MONSTER instead of 0 as the index for non-monster attacks, so as to avoid overlap with the first monster on the level. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6985 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/effects.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/effects.cc') diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 70e5843bf0..2d21ad2004 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -537,9 +537,9 @@ bool lose_stat(unsigned char which_stat, unsigned char stat_loss, bool force, if (newValue < 1) { if (cause == NULL) - ouch(INSTANT_DEATH, 0, kill_type); + ouch(INSTANT_DEATH, NON_MONSTER, kill_type); else - ouch(INSTANT_DEATH, 0, kill_type, cause, see_source); + ouch(INSTANT_DEATH, NON_MONSTER, kill_type, cause, see_source); } -- cgit v1.2.3-54-g00ecf