summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-06-05 00:07:03 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-06-05 00:07:03 +0200
commit6724fd4b95251c3d514878f6fd5e0dbcf092d91f (patch)
treec1d567b79a290ae71352d10d7df37dc2d45567eb /crawl-ref/source/godconduct.cc
parentd28eff8887a99d01ea6ed719e28d548f31e11296 (diff)
downloadcrawl-ref-6724fd4b95251c3d514878f6fd5e0dbcf092d91f.tar.gz
crawl-ref-6724fd4b95251c3d514878f6fd5e0dbcf092d91f.zip
Fix Okawaru not giving messages on accepting kills.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index 972d98495a..13b9cd802a 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -1004,9 +1004,8 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known,
|| thing_done == DID_KILL_HOLY)
&& ! god_hates_attacking_friend(you.religion, victim))
{
- int gain = get_fuzzied_monster_difficulty(victim);
- dprf("fuzzied monster difficulty: %4.2f", gain*0.01);
- gain_piety(gain, 700);
+ piety_change = get_fuzzied_monster_difficulty(victim);
+ dprf("fuzzied monster difficulty: %4.2f", piety_change * 0.01);
piety_denom = 700;
if (piety_change > 3200)
simple_god_message(" appreciates your kill.");