summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 15:08:25 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 15:08:25 +0200
commit285e514f699f1adc6064c1fce860d5e6b0cef8b3 (patch)
tree2414d865d88f6b537fb21be1b7b65a9169b326dc /crawl-ref/source/ouch.cc
parent9f1bde77a7bb7e70701c934e3a440534f9b7c504 (diff)
downloadcrawl-ref-285e514f699f1adc6064c1fce860d5e6b0cef8b3.tar.gz
crawl-ref-285e514f699f1adc6064c1fce860d5e6b0cef8b3.zip
Make Chronos account for player's haste/slow/statue form.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 2b1eeef209..cfcc31cd54 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -787,7 +787,7 @@ static void _xom_checks_damage(kill_method_type death_type,
if (!player_monster_visible(monster))
amusementvalue += 10;
- if (monster->speed < (int)player_movement_speed())
+ if (monster->speed < 100/player_movement_speed())
amusementvalue += 8;
if (death_type != KILLED_BY_BEAM