diff options
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index 6c584297b3..28f44c2c7b 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -2630,7 +2630,7 @@ void monsters::moveto(const coord_def& c) if (c != pos() && in_bounds(pos())) mons_clear_trapping_net(this); - position = c; + set_position(c); } bool monsters::fumbles_attack(bool verbose) @@ -4845,7 +4845,7 @@ void monsters::apply_enchantment(const mon_enchant &me) // If you are no longer dying, you must be dead. if (decay_enchantment(me)) { - if (::see_cell(this->position)) + if (::see_cell(position)) { mprf("A nearby %s withers and dies.", this->name(DESC_PLAIN, false).c_str()); |