summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-29 18:25:08 +0200
committermadmaxoft <github@xoft.cz>2014-05-29 18:25:08 +0200
commitf7777e8c7559964f126a64af7673276e356dcedc (patch)
treefdd7bd8301051bb8e466e31ef4f3b35308d7b334 /src/LightingThread.cpp
parentAdd comment (diff)
downloadcuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.gz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.bz2
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.lz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.xz
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.tar.zst
cuberite-f7777e8c7559964f126a64af7673276e356dcedc.zip
Diffstat (limited to 'src/LightingThread.cpp')
-rw-r--r--src/LightingThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp
index 879252c34..dc19bf500 100644
--- a/src/LightingThread.cpp
+++ b/src/LightingThread.cpp
@@ -27,7 +27,7 @@ class cReader :
{
for (int z = 0; z < cChunkDef::Width; z++)
{
- a_ChunkBuffer.CopyBlocks(OutputRows + OutputIdx * 16, InputIdx * 16, 16);
+ a_ChunkBuffer.CopyBlockTypes(OutputRows + OutputIdx * 16, InputIdx * 16, 16);
InputIdx++;
OutputIdx += 3;
} // for z