summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/test
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-22 23:22:14 +0200
committerChris Campbell <chriscampbell89@gmail.com>2013-07-23 17:27:51 +0100
commitf375626fc541ed574aed2fcaa4ce30251959b2dd (patch)
treeee02c5aee7bb99b3f5b270f0e82e58070b657a11 /crawl-ref/source/test
parentdd4c0038fd2a6e748bef03f3da35934bc779ceed (diff)
downloadcrawl-ref-f375626fc541ed574aed2fcaa4ce30251959b2dd.tar.gz
crawl-ref-f375626fc541ed574aed2fcaa4ce30251959b2dd.zip
Fix typo breaking a LOS test
Diffstat (limited to 'crawl-ref/source/test')
-rw-r--r--crawl-ref/source/test/los_csc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/test/los_csc.lua b/crawl-ref/source/test/los_csc.lua
index b45984e135..ea8d5e5fa0 100644
--- a/crawl-ref/source/test/los_csc.lua
+++ b/crawl-ref/source/test/los_csc.lua
@@ -15,7 +15,7 @@ local function test_cellseecell_symmetry()
for x = -9, 9 do
local px, py = x + you_x, y + you_y
if (x ~= 0 or y ~= 0) and dgn.in_bounds(px, py) then
- local foreward = los.cell_see_cell(you_x, you_y, px, py)
+ local forward = los.cell_see_cell(you_x, you_y, px, py)
local backward = los.cell_see_cell(px, py, you_x, you_y)
this_p = dgn.point(you_x, you_y)
other_p = dgn.point(px, py)