diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-31 14:02:32 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2010-01-31 15:56:03 +0100 |
commit | 93057974cdb8277159b52a7c9e2f9f6c50cdb6a7 (patch) | |
tree | fac804494c16682b178a2f55c202a7c821034a48 /crawl-ref/source/coordit.h | |
parent | 72324ce5f5822239d5df3461f8811bd1e160fd06 (diff) | |
download | crawl-ref-93057974cdb8277159b52a7c9e2f9f6c50cdb6a7.tar.gz crawl-ref-93057974cdb8277159b52a7c9e2f9f6c50cdb6a7.zip |
Make Yred's gifts follow through stairways even if behind zombies.
Monsters that would qualify as followers but are incapable of
using stairs now also get the MF_TAKING_STAIRS flag. In files.cc,
_grab_follower_at() they get filtered out from transit, but this
way followers not adjacent to the player, but connected via other
allies can be considered anyway.
Tested for Beogh and Yredelemnul, without problems.
In practise this currently only matters for Yredelemnul if your
gifted undead are not adjacent to you, but rather standing behind
some zombies or skeletons. However, I am certain we'll find quickly
other applications, too. :)
Diffstat (limited to 'crawl-ref/source/coordit.h')
-rw-r--r-- | crawl-ref/source/coordit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/coordit.h b/crawl-ref/source/coordit.h index 6cf3a2a011..cd982ecc1d 100644 --- a/crawl-ref/source/coordit.h +++ b/crawl-ref/source/coordit.h @@ -85,7 +85,7 @@ class adjacent_iterator : public radius_iterator public: explicit adjacent_iterator(const coord_def& pos, bool _exclude_center = true) : - radius_iterator(pos, 1, C_SQUARE, NULL, _exclude_center) {} + radius_iterator(pos, 1, C_SQUARE, NULL, _exclude_center) {} }; #endif |