diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-23 17:22:11 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-23 17:22:11 +0000 |
commit | 324764aa0c424121d6493f7c8056f6ff4f3fb08e (patch) | |
tree | a82370d6ebc21837e2bf9481c443810dcaaa2090 | |
parent | b295af36ff317a2878ae6f4f94081089dad986d8 (diff) | |
download | crawl-ref-324764aa0c424121d6493f7c8056f6ff4f3fb08e.tar.gz crawl-ref-324764aa0c424121d6493f7c8056f6ff4f3fb08e.zip |
Trunk->0.3 merge (2900): Fix for vampires healing player.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2901 c06c8d41-db1a-0410-9941-cceddc491573
-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 4169a5a0d1..f7c1674355 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -3204,7 +3204,7 @@ void melee_attack::mons_apply_attack_flavour(const mon_attack_def &attk) if (defender->stat_hp() < defender->stat_maxhp()) { - defender->heal(1 + random2(damage_done), coinflip()); + attacker->heal(1 + random2(damage_done), coinflip()); if (needs_message) { |