diff options
author | worktycho <work.tycho@gmail.com> | 2014-07-13 16:32:44 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-07-13 16:32:44 +0200 |
commit | 132b367316b2723ef573476a9fb78bcba6f09294 (patch) | |
tree | 5e98657d25450afdb792539345de7cd6500ebb6b /src/Generating/ChunkDesc.cpp | |
parent | Another COpyPaste Error (diff) | |
download | cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar.gz cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar.bz2 cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar.lz cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar.xz cuberite-132b367316b2723ef573476a9fb78bcba6f09294.tar.zst cuberite-132b367316b2723ef573476a9fb78bcba6f09294.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ChunkDesc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ChunkDesc.cpp b/src/Generating/ChunkDesc.cpp index c63ca6689..e4b305022 100644 --- a/src/Generating/ChunkDesc.cpp +++ b/src/Generating/ChunkDesc.cpp @@ -311,7 +311,7 @@ void cChunkDesc::ReadBlockArea(cBlockArea & a_Dest, int a_MinRelX, int a_MaxRelX LOGWARNING("%s: MaxRelY less than zero, adjusting to zero", __FUNCTION__); a_MaxRelY = 0; } - else if (a_MinRelY >= cChunkDef::Height) + else if (a_MaxRelY >= cChunkDef::Height) { LOGWARNING("%s: MaxRelY more than chunk height, adjusting to chunk height", __FUNCTION__); a_MaxRelY = cChunkDef::Height - 1; |