From f345087e753e998dda62dd67c7346b8fc8d78c5f Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sun, 23 Apr 2023 03:09:49 +0200 Subject: [PATCH] Fix Lazarus glowing inside the wall --- Source/lighting.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/lighting.cpp b/Source/lighting.cpp index 66930ca90..156a43f98 100644 --- a/Source/lighting.cpp +++ b/Source/lighting.cpp @@ -575,6 +575,8 @@ void ProcessLightList() i--; continue; } + if (TileHasAny(dPiece[light.position.tile.x][light.position.tile.y], TileProperties::Solid)) + continue; // Monster hidden in a wall, don't spoil the surprise DoLighting(light.position.tile, light.radius, light.position.offset); }