diff options
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 89212293ce..667a5fff53 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -264,9 +264,9 @@ bool radius_iterator::on_valid_square() const return (false); if (require_los) { - if (!losgrid && !see_grid(location)) + if (!losgrid && !see_cell(location)) return (false); - if (losgrid && !see_grid(*losgrid, center, location)) + if (losgrid && !see_cell(*losgrid, center, location)) return (false); } if (exclude_center && location == center) |