diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:49:53 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-06-26 15:49:53 +0200 |
commit | eaf36766f60662a0aa7829ae3d96f47fd91b408d (patch) | |
tree | 3075c09f947dfbaff163c405c74f518a8064ea89 /src/LightingThread.cpp | |
parent | derp (diff) | |
parent | Merge pull request #1126 from mc-server/BlockInfoInit (diff) | |
download | cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.gz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.bz2 cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.lz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.xz cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.tar.zst cuberite-eaf36766f60662a0aa7829ae3d96f47fd91b408d.zip |
Diffstat (limited to 'src/LightingThread.cpp')
-rw-r--r-- | src/LightingThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LightingThread.cpp b/src/LightingThread.cpp index d3873ab3c..33bc08467 100644 --- a/src/LightingThread.cpp +++ b/src/LightingThread.cpp @@ -23,7 +23,7 @@ class cReader : BLOCKTYPE * OutputRows = m_BlockTypes; int InputIdx = 0; int OutputIdx = m_ReadingChunkX + m_ReadingChunkZ * cChunkDef::Width * 3; - int MaxHeight = std::min(cChunkDef::Height, m_MaxHeight + 16); // Need 16 blocks above the highest + int MaxHeight = std::min(+cChunkDef::Height, m_MaxHeight + 16); // Need 16 blocks above the highest for (int y = 0; y < MaxHeight; y++) { for (int z = 0; z < cChunkDef::Width; z++) |