diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-07 18:45:09 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-07 18:45:09 +0000 |
commit | 4a27714410c3f8f0f5113421a77e21a43242a0c2 (patch) | |
tree | f309c59a896cac08751a5eec556707cece2d7d17 /crawl-ref/source/fight.cc | |
parent | b06697749c94d7ef021b6b7224df1a05dde6f7c4 (diff) | |
download | crawl-ref-4a27714410c3f8f0f5113421a77e21a43242a0c2.tar.gz crawl-ref-4a27714410c3f8f0f5113421a77e21a43242a0c2.zip |
Fixed hydra decapitation kills not being correctly credited (Jennifer).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1259 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 4523166154..3fbc2081d7 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -311,7 +311,7 @@ static bool chop_hydra_head( const actor *attacker, attacker->conj_verb(verb).c_str(), defender->name(DESC_NOCAP_THE).c_str() ); - defender->hit_points = -1; + defender->hurt(attacker, defender->hit_points); } else { |