From 6d7b83a69d80cb7335ebe1dec9f31fca7ef6009c Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 28 Jul 2020 23:40:37 +0100 Subject: Do not impose redstone wakup penalty for all blocks --- src/Chunk.cpp | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'src/Chunk.cpp') diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 9544899f7..cb14b36a0 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -1379,27 +1379,14 @@ void cChunk::QueueTickBlock(Vector3i a_RelPos) void cChunk::QueueTickBlockNeighbors(Vector3i a_RelPos) { // Contains our direct adjacents - // and one block above and below the laterals (for redstone components) static const Vector3i Offsets[] = { - { 1, 1, 0}, - { 1, 0, 0}, - { 1, -1, 0}, - - {-1, 1, 0}, - {-1, 0, 0}, - {-1, -1, 0}, - - { 0, 1, 1}, - { 0, 0, 1}, - { 0, -1, 1}, - - { 0, 1, -1}, - { 0, 0, -1}, - { 0, -1, -1}, - - { 0, 1, 0}, - { 0, -1, 0}, + { 1, 0, 0 }, + { -1, 0, 0 }, + { 0, 1, 0 }, + { 0, -1, 0 }, + { 0, 0, 1 }, + { 0, 0, -1 }, }; for (const auto & Offset : Offsets) -- cgit v1.2.3