0

removed another bit of code that assumes the ceiling is at 128

This commit is contained in:
Aaron Griffith
2012-02-26 09:18:39 -05:00
parent 0b34c7f1c3
commit 9f90c02297

View File

@@ -128,7 +128,7 @@ base_draw(void *data, RenderState *state, PyObject *src, PyObject *mask, PyObjec
* biome-compliant ones! The tinting is now all done here.
*/
if (/* grass, but not snowgrass */
(state->block == 2 && !(state->z < 127 && getArrayByte3D(state->blocks, state->x, state->y, state->z+1) == 78)) ||
(state->block == 2 && get_data(state, BLOCKS, state->x, state->y+1, state->z) != 78) ||
/* water */
state->block == 8 || state->block == 9 ||
/* leaves */