summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test/los_symm.lua
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/test/los_symm.lua
parentf6e6b6b7151af9290c0597acb1995ed157378529 (diff)
downloadcrawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.tar.gz
crawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.zip
Globally replace see_grid by see_cell.
Diffstat (limited to 'crawl-ref/source/test/los_symm.lua')
-rw-r--r--crawl-ref/source/test/los_symm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/test/los_symm.lua b/crawl-ref/source/test/los_symm.lua
index 43bce66928..eac1db7577 100644
--- a/crawl-ref/source/test/los_symm.lua
+++ b/crawl-ref/source/test/los_symm.lua
@@ -20,7 +20,7 @@ local function test_losight_symmetry()
for x = -8, 8 do
if x ~= 0 or y ~= 0 then
local px, py = x + you_x, y + you_y
- if you.see_grid(px, py) then
+ if you.see_cell(px, py) then
table.insert(visible_spots, { px, py })
end
end
@@ -33,7 +33,7 @@ local function test_losight_symmetry()
local x, y = unpack(spot)
you.moveto(x, y)
you.losight()
- if not you.see_grid(you_x, you_y) then
+ if not you.see_cell(you_x, you_y) then
-- Draw the view to show the problem.
crawl.redraw_view()
local this_p = dgn.point(x, y)