summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-01 10:44:11 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-01 10:44:11 +0000
commitd22abf31c5f56320e1ee6c5ff25a75b8bd09b6c0 (patch)
tree224891df1b503798e8826385261c3f825b4a7fd2 /crawl-ref/source/monstuff.h
parent2b9197efde1c28e983c988def8f7d673f8699ebe (diff)
downloadcrawl-ref-d22abf31c5f56320e1ee6c5ff25a75b8bd09b6c0.tar.gz
crawl-ref-d22abf31c5f56320e1ee6c5ff25a75b8bd09b6c0.zip
Fixed vampiric healing on death using raw damage instead of actual damage, which produced super-healing for stabbing (jarpiain).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2283 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.h')
-rw-r--r--crawl-ref/source/monstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.h b/crawl-ref/source/monstuff.h
index dc62fc9715..80b9f7d5c3 100644
--- a/crawl-ref/source/monstuff.h
+++ b/crawl-ref/source/monstuff.h
@@ -173,7 +173,7 @@ unsigned int monster_index(const monsters *monster);
* called from: bang - beam - effects - fight - monstuff - mstuff2 -
* spells2 - spells3 - spells4
* *********************************************************************** */
-bool hurt_monster(struct monsters *victim, int damage_dealt);
+int hurt_monster(monsters *victim, int damage_dealt);
/* ***********************************************************************