Browse Source

Fix Lazarus glowing inside the wall

pull/6027/head
Anders Jenbo 3 years ago
parent
commit
f345087e75
  1. 2
      Source/lighting.cpp

2
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);
}

Loading…
Cancel
Save