From 9d4b48b5ae8a388bc833cfc249d5c09841dbddd6 Mon Sep 17 00:00:00 2001 From: Alejandro Aguilera Date: Wed, 1 Jun 2011 00:19:23 +0200 Subject: [PATCH] Add the agrif's fix for stairs. With 1.6 this is no more a quick fix (I think they are now as slabs are). --- src/rendermode-lighting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendermode-lighting.c b/src/rendermode-lighting.c index e342c7d..c38fd1e 100644 --- a/src/rendermode-lighting.c +++ b/src/rendermode-lighting.c @@ -91,7 +91,7 @@ get_lighting_coefficient(RenderModeLighting *self, RenderState *state, /* only do special half-step handling if no authoratative pointer was passed in, which is a sign that we're recursing */ - if (block == 44 && authoratative == NULL) { + if ((block == 44 || block == 53 || block == 67) && authoratative == NULL) { float average_gather = 0.0f; unsigned int average_count = 0; int auth;