summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 14:32:53 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 14:33:25 +0200
commit9f1bde77a7bb7e70701c934e3a440534f9b7c504 (patch)
tree11cb101576284153e4a3569678f484225e2c7a89 /crawl-ref/source/monstuff.cc
parent7bfdcb1598177d1bf68e73007020321ed23f67dc (diff)
downloadcrawl-ref-9f1bde77a7bb7e70701c934e3a440534f9b7c504.tar.gz
crawl-ref-9f1bde77a7bb7e70701c934e3a440534f9b7c504.zip
Fix another case of reversed speed.
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 08eaeb0cef..fe7575d024 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1543,7 +1543,8 @@ int monster_die(monsters *monster, killer_type killer,
}
// Chronos hates fast monsters
- if( monster->speed > player_movement_speed()){
+ if (mons_is_fast(monster))
+ {
did_god_conduct(DID_KILL_FAST, monster->hit_dice,
true, monster);
}