Game version 1.55, extracted from te4-1.5.5.teae, line 477
elseif typ.wall and typ.wall > 0 then
core.fov.calc_wall(
rx,
rx, -- should this be ry instead?
game.level.map.w,
game.level.map.h,
typ.wall,
typ.halfmax_spots,
typ.start_x,
typ.start_y,
lx - typ.start_x,
ly - typ.start_y,
function(_, px, py)
if typ.block_radius and typ:block_radius(px, py) then return true end
end,
function(_, px, py)
-- Deal damage: wall
addGrid(px, py)
end,
nil)
else
A possible bug in engine\interface\ActorProject.lua
Moderator: Moderator
-
- Wayist
- Posts: 29
- Joined: Fri May 16, 2014 6:30 pm