diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 01197f79ea..c9926d62c5 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -7154,7 +7154,8 @@ void monsters::check_redraw(const coord_def &old) const void monsters::apply_location_effects(const coord_def &oldpos) { - dungeon_events.fire_position_event(DET_MONSTER_MOVED, pos()); + if (oldpos != pos()) + dungeon_events.fire_position_event(DET_MONSTER_MOVED, pos()); // monsters stepping on traps: trap_def* ptrap = find_trap(pos()); |