0

skip_sides in lighting_is_face_occluded is now correctly named

switched a conditional, but should still be fixed as per 75f80dae95
This commit is contained in:
Aaron Griffith
2012-06-07 20:17:49 -04:00
parent 25cb1f19c9
commit c17e33a810
2 changed files with 4 additions and 4 deletions

View File

@@ -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, 1, cx, cy, cz))
if (lighting_is_face_occluded(state, 0, cx, cy, cz))
return;
/* calculate the lighting colors for each point */