diff options
Diffstat (limited to 'crawl-ref/source/test/los_maps.lua')
-rw-r--r-- | crawl-ref/source/test/los_maps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/test/los_maps.lua b/crawl-ref/source/test/los_maps.lua index 769cd251ec..f6ac2a2591 100644 --- a/crawl-ref/source/test/los_maps.lua +++ b/crawl-ref/source/test/los_maps.lua @@ -30,7 +30,7 @@ local function test_los_map(map) local should_see = ((x == 0 and y == 0) or dgn.grid(xa, ya) == rock_wall or dgn.grid(xa, ya) == floor) - local can_see = you.see_grid(xa, ya) + local can_see = you.see_cell(xa, ya) if can_see and (not should_see) then assert(false, "los error in " .. name .."(iter #" .. checks .. "): can see " .. p .. " but shouldn't.") |