Do not impose redstone wakup penalty for all blocks
This commit is contained in:
parent
fd5191854d
commit
6d7b83a69d
@ -1379,27 +1379,14 @@ void cChunk::QueueTickBlock(Vector3i a_RelPos)
|
|||||||
void cChunk::QueueTickBlockNeighbors(Vector3i a_RelPos)
|
void cChunk::QueueTickBlockNeighbors(Vector3i a_RelPos)
|
||||||
{
|
{
|
||||||
// Contains our direct adjacents
|
// Contains our direct adjacents
|
||||||
// and one block above and below the laterals (for redstone components)
|
|
||||||
static const Vector3i Offsets[] =
|
static const Vector3i Offsets[] =
|
||||||
{
|
{
|
||||||
{ 1, 1, 0},
|
{ 1, 0, 0 },
|
||||||
{ 1, 0, 0},
|
{ -1, 0, 0 },
|
||||||
{ 1, -1, 0},
|
{ 0, 1, 0 },
|
||||||
|
{ 0, -1, 0 },
|
||||||
{-1, 1, 0},
|
{ 0, 0, 1 },
|
||||||
{-1, 0, 0},
|
{ 0, 0, -1 },
|
||||||
{-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},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
for (const auto & Offset : Offsets)
|
for (const auto & Offset : Offsets)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user