From 3a04bfd336a7680dfcd0def1ce801c6c2a171cce Mon Sep 17 00:00:00 2001 From: Socolin Date: Sat, 13 Oct 2012 18:20:40 +0300 Subject: [PATCH] Update overviewer_core/src/iterate.c Support id > 255 for check_adjacent_blocks --- overviewer_core/src/iterate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/src/iterate.c b/overviewer_core/src/iterate.c index f274845..864a975 100644 --- a/overviewer_core/src/iterate.c +++ b/overviewer_core/src/iterate.c @@ -208,7 +208,7 @@ unload_all_chunks(RenderState *state) { } unsigned char -check_adjacent_blocks(RenderState *state, int x,int y,int z, unsigned char blockid) { +check_adjacent_blocks(RenderState *state, int x,int y,int z, unsigned short blockid) { /* * Generates a pseudo ancillary data for blocks that depend of * what are surrounded and don't have ancillary data. This