From 42debd6c9dec6c9188f9b2f47354736d7f5ee708 Mon Sep 17 00:00:00 2001 From: Alejandro Aguilera Date: Fri, 8 Feb 2013 11:06:14 +0100 Subject: [PATCH] Redstone now connects to trapped chests. --- overviewer_core/src/iterate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer_core/src/iterate.c b/overviewer_core/src/iterate.c index 4b1f313..2bc0a23 100644 --- a/overviewer_core/src/iterate.c +++ b/overviewer_core/src/iterate.c @@ -298,8 +298,8 @@ generate_pseudo_data(RenderState *state, unsigned char ancilData) { above_level_data = check_adjacent_blocks(state, x, y+1, z, state->block); } /* else above_level_data = 0 */ - /* check connection with same level */ - same_level_data = check_adjacent_blocks(state, x, y, z, 55); + /* check connection with same level (other redstone and trapped chests */ + same_level_data = check_adjacent_blocks(state, x, y, z, 55) | check_adjacent_blocks(state, x, y, z, 146); /* check the posibility of connection with y-1 level, check for air */ possibly_connected = check_adjacent_blocks(state, x, y, z, 0);