From: <gi...@cr...> - 2012-02-29 14:32:59
|
via e3bde278711bf2ff4bb5822358995597c0d3fee4 (commit) from 2544f3196f6c283864b7ca58b2499bad2e8d225e (commit) ----------------------------------------------------------------------- commit e3bde278711bf2ff4bb5822358995597c0d3fee4 Author: Raphael Langella <rap...@gm...> Date: Wed Feb 29 15:25:39 2012 +0100 Don't side step to make room for ally if said ally has reaching. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/mon-act.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 55bbbbf..64b66ef 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -297,7 +297,7 @@ static bool _allied_monster_at(monster* mon, coord_def a, coord_def b, if (ally == NULL) continue; - if (mons_is_stationary(ally)) + if (mons_is_stationary(ally) || ally->reach_range()) continue; // Hostile monsters of normal intelligence only move aside for -- Dungeon Crawl Stone Soup |