From 75f80dae954c565cb62089b10cc7c075f4bf1ea1 Mon Sep 17 00:00:00 2001 From: Alejandro Aguilera Date: Thu, 17 May 2012 10:25:03 +0200 Subject: [PATCH] Fix black dotted lines in smooth-lighting rendermode. --- overviewer_core/src/primitives/smooth-lighting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/src/primitives/smooth-lighting.c b/overviewer_core/src/primitives/smooth-lighting.c index 6e3da54..8840253 100644 --- a/overviewer_core/src/primitives/smooth-lighting.c +++ b/overviewer_core/src/primitives/smooth-lighting.c @@ -143,7 +143,7 @@ do_shading_with_rule(RenderPrimitiveSmoothLighting *self, RenderState *state, st int cz = state->z + face.dz; /* first, check for occlusion if the block is in the local chunk */ - if (lighting_is_face_occluded(state, 0, cx, cy, cz)) + if (lighting_is_face_occluded(state, 1, cx, cy, cz)) return; /* calculate the lighting colors for each point */