Skip to content
Snippets Groups Projects
Commit 3875314b authored by dg's avatar dg
Browse files

Fix Arcane Eye at level 5

git-svn-id: http://svn.net-core.org/repos/t-engine4@3462 51575b47-30f0-44d4-a5cc-537603b46e54
parent b2b0af16
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,10 @@ function _M:playerFOV()
eff.x, eff.y, game.level.map.w, game.level.map.h, eff.radius, function(_, x, y) if map:checkAllEntities(x, y, "block_sight", self) then return true end end,
function(_, x, y)
local t = map(x, y, map.ACTOR)
if t and (eff.true_seeing or self:canSee(t)) then map.seens(x, y, 1) self.can_see_cache[t]["nil/nil"] = {true,100} end
if t and (eff.true_seeing or self:canSee(t)) then
map.seens(x, y, 1)
if self.can_see_cache[t] then self.can_see_cache[t]["nil/nil"] = {true, 100} end
end
end,
cache and map._fovcache["block_sight"]
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment