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

Level 5 Arcane Eye should work even while blinded

git-svn-id: http://svn.net-core.org/repos/t-engine4@3348 51575b47-30f0-44d4-a5cc-537603b46e54
parent ec74dc57
No related branches found
No related tags found
No related merge requests found
......@@ -316,7 +316,7 @@ 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) end
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
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