diff options
author | madmaxoft <github@xoft.cz> | 2014-04-12 00:24:35 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-12 00:24:35 +0200 |
commit | 5bc5272a4ea5fc5685626627dff62a697415826b (patch) | |
tree | 0b3c5396ff5cc9bf84d84e220c555c722fef9198 /src | |
parent | Lighting reads blocktypes only for blocks under heightmap. (diff) | |
download | cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar.gz cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar.bz2 cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar.lz cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar.xz cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.tar.zst cuberite-5bc5272a4ea5fc5685626627dff62a697415826b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/LightingThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index f23f0c5f4..f22e3933b 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -76,9 +76,9 @@ public: HEIGHTTYPE * m_HeightMap; // 3x3 chunks of height map, organized as a single XZY blob of data (instead of 3x3 XZY blobs) cReader(BLOCKTYPE * a_BlockTypes, HEIGHTTYPE * a_HeightMap) : + m_MaxHeight(0), m_BlockTypes(a_BlockTypes), - m_HeightMap(a_HeightMap), - m_MaxHeight(0) + m_HeightMap(a_HeightMap) { } } ; |