diff options
-rw-r--r-- | crawl-ref/source/misc.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index d4f4de4b2e..856f91ded9 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2117,9 +2117,6 @@ int mons_inside_circle(int posx, int posy, int radius) if (!inside_level_bounds(posx, posy)) return -1; - if (posx < 0 || posx >= GXM || posy < 0 || posy >= GYM) - return -1; - int dist = distance(posx, posy, you.x_pos, you.y_pos); if (dist > radius*radius) return -1; |