ToME: the Tales of Maj'Eyal
http://forums.te4.org/

A possible bug in engine\interface\ActorProject.lua
http://forums.te4.org/viewtopic.php?f=42&t=48570
Page 1 of 1

Author:  wuxiangjinxing [ Mon Jan 22, 2018 6:54 am ]
Post subject:  A possible bug in engine\interface\ActorProject.lua

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/