diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2011-06-02 23:34:14 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2011-06-02 23:35:37 +0100 |
commit | 47b3f6a0f2b4624254c4eebe87594a6ee8087560 (patch) | |
tree | 6e27e7b81d9dfeae728174f8a7f252f7831411bc /crawl-ref/source/fearmonger.cc | |
parent | b38382f3ef1dbf7594768c2062181ec50849e5e6 (diff) | |
download | crawl-ref-47b3f6a0f2b4624254c4eebe87594a6ee8087560.tar.gz crawl-ref-47b3f6a0f2b4624254c4eebe87594a6ee8087560.zip |
Make monster cause fear a bit less restrictive
Diffstat (limited to 'crawl-ref/source/fearmonger.cc')
-rw-r--r-- | crawl-ref/source/fearmonger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fearmonger.cc b/crawl-ref/source/fearmonger.cc index 05fb53765a..e668d659ef 100644 --- a/crawl-ref/source/fearmonger.cc +++ b/crawl-ref/source/fearmonger.cc @@ -77,7 +77,7 @@ monster* player::get_fearmonger(const coord_def &target) const const int olddist = grid_distance(pos(), mon->pos()); const int newdist = grid_distance(target, mon->pos()); - if (olddist >= newdist) + if (olddist > newdist) return (mon); } return (NULL); |