summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-17 00:16:20 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-17 00:16:20 +0200
commit241ceb5971b5c87b58e7f28f9fee417230561a5d (patch)
tree8e3a0781c9ba03971f8880fe6923337a50f45409 /crawl-ref/source/stuff.cc
parentf6e6b6b7151af9290c0597acb1995ed157378529 (diff)
downloadcrawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.tar.gz
crawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.zip
Globally replace see_grid by see_cell.
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc4
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)