Commit c1f4a873942fb3b6bfe584f023b111e883be1991

Authored by dg
1 parent ec74dc57

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
... ... @@ -316,7 +316,7 @@ function _M:playerFOV()
316 316 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,
317 317 function(_, x, y)
318 318 local t = map(x, y, map.ACTOR)
319   - if t and (eff.true_seeing or self:canSee(t)) then map.seens(x, y, 1) end
  319 + 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
320 320 end,
321 321 cache and map._fovcache["block_sight"]
322 322 )
... ...