0

Base render primitive now draws correctly (no biomes yet though)

This commit is contained in:
Aaron Griffith
2012-02-21 02:42:42 -05:00
parent b234301521
commit a0d584bba6
3 changed files with 69 additions and 29 deletions

View File

@@ -59,7 +59,7 @@ base_finish(void *data, RenderState *state) {
static int
base_occluded(void *data, RenderState *state, int x, int y, int z) {
if ( (x != 0) && (y != 15) && (z != 127) &&
if ( (x != 0) && (y != 15) && (z != 15) &&
!render_mode_hidden(state->rendermode, x-1, y, z) &&
!render_mode_hidden(state->rendermode, x, y, z+1) &&
!render_mode_hidden(state->rendermode, x, y+1, z) &&