summaryrefslogtreecommitdiffstats
path: root/source/LightingThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/LightingThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/LightingThread.cpp b/source/LightingThread.cpp
index 5172887ba..d50cc28e2 100644
--- a/source/LightingThread.cpp
+++ b/source/LightingThread.cpp
@@ -338,7 +338,7 @@ bool cLightingThread::ReadChunks(int a_ChunkX, int a_ChunkZ)
for (int x = 0; x < 3; x++)
{
Reader.m_ReadingChunkX = x;
- if (!m_World->GetChunkData(a_ChunkX + x - 1, ZERO_CHUNK_Y, a_ChunkZ + z - 1, Reader))
+ if (!m_World->GetChunkData(a_ChunkX + x - 1, a_ChunkZ + z - 1, Reader))
{
return false;
}