From c1f4a873942fb3b6bfe584f023b111e883be1991 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Fri, 13 May 2011 22:49:39 +0000
Subject: [PATCH] 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
---
 game/modules/tome/class/Player.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/modules/tome/class/Player.lua b/game/modules/tome/class/Player.lua
index 6bee8fcc14..9669ed02ab 100644
--- a/game/modules/tome/class/Player.lua
+++ b/game/modules/tome/class/Player.lua
@@ -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"]
 		)
-- 
GitLab