summaryrefslogtreecommitdiffstats
path: root/src/LightingThread.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-16 22:53:08 +0200
committermadmaxoft <github@xoft.cz>2014-06-16 22:53:08 +0200
commitd6979ad95d2430e78c8e3ccef376704516814da0 (patch)
treebdbec9782b0987327babbc63f35545221662a2a8 /src/LightingThread.cpp
parentFixed MSVC builds. (diff)
downloadcuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar.gz
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar.bz2
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar.lz
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar.xz
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.tar.zst
cuberite-d6979ad95d2430e78c8e3ccef376704516814da0.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 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++)