@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
// increment this value if you've made a change to the c extesion
|
// increment this value if you've made a change to the c extesion
|
||||||
// and want to force users to rebuild
|
// and want to force users to rebuild
|
||||||
#define OVERVIEWER_EXTENSION_VERSION 14
|
#define OVERVIEWER_EXTENSION_VERSION 15
|
||||||
|
|
||||||
/* Python PIL, and numpy headers */
|
/* Python PIL, and numpy headers */
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|||||||
@@ -245,8 +245,8 @@ get_lighting_color(RenderModeLighting *self, RenderState *state,
|
|||||||
skylevel = getArrayByte3D(skylight, local_x, local_y, local_z);
|
skylevel = getArrayByte3D(skylight, local_x, local_y, local_z);
|
||||||
blocklevel = getArrayByte3D(blocklight, local_x, local_y, local_z);
|
blocklevel = getArrayByte3D(blocklight, local_x, local_y, local_z);
|
||||||
|
|
||||||
/* special half-step handling */
|
/* special half-step, stairs handling */
|
||||||
if (block == 44 || block == 53 || block == 67 || block == 108 || block == 109) {
|
if (block == 44 || block == 53 || block == 67 || block == 108 || block == 109 || block == 114) {
|
||||||
unsigned int upper_block;
|
unsigned int upper_block;
|
||||||
|
|
||||||
/* stairs and half-blocks take the skylevel from the upper block if it's transparent */
|
/* stairs and half-blocks take the skylevel from the upper block if it's transparent */
|
||||||
|
|||||||
Reference in New Issue
Block a user