diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-10-22 12:21:50 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-10-22 12:21:50 +0200 |
commit | a724290e7ae62bc20013919bc14c16e91d842083 (patch) | |
tree | 2873aa71f2cd43132b1b7f0f85ef02856c477257 /crawl-ref/source/mon-util.cc | |
parent | d2ccd1e0215c4cee7e4ac915e8596443759678ff (diff) | |
download | crawl-ref-a724290e7ae62bc20013919bc14c16e91d842083.tar.gz crawl-ref-a724290e7ae62bc20013919bc14c16e91d842083.zip |
Fix the Chronos speed reversal bug. It's now bad to be spriggan, good to be naga.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index c775d19bd1..f841e2d781 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -511,8 +511,9 @@ bool mons_is_stationary(const monsters *mon) return (mons_class_is_stationary(mon->type)); } -bool mons_is_fast(const monsters *mon){ - return (mon->speed > 10); +bool mons_is_fast(const monsters *mon) +{ + return (mon->speed > 100/player_movement_speed()); } bool mons_is_insubstantial(int mc) |