take Z axis into account when calculating neighboors in LightingThread::ChunkReady
This commit is contained in:
parent
2e1588820d
commit
3da41de553
@ -189,7 +189,7 @@ void cLightingThread::ChunkReady(int a_ChunkX, int a_ChunkZ)
|
||||
{
|
||||
if (
|
||||
(itr->x - a_ChunkX >= -1) && (itr->x - a_ChunkX <= 1) &&
|
||||
(itr->x - a_ChunkX >= -1) && (itr->x - a_ChunkX <= 1)
|
||||
(itr->z - a_ChunkZ >= -1) && (itr->z - a_ChunkZ <= 1)
|
||||
)
|
||||
{
|
||||
// It is a neighbor
|
||||
|
Loading…
Reference in New Issue
Block a user