diff options
author | tycho <work.tycho@gmail.com> | 2015-05-28 13:29:26 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-28 13:54:04 +0200 |
commit | b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0 (patch) | |
tree | ff9846d0ffa558e237ea148762f67b5ebf71a47d /src/Generating/ChunkDesc.cpp | |
parent | Merge branch 'master' into PreventNewWarnings (diff) | |
download | cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.gz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.bz2 cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.lz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.xz cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.zst cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.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 fe5182004..07855b1d0 100644 --- a/src/Generating/ChunkDesc.cpp +++ b/src/Generating/ChunkDesc.cpp @@ -158,7 +158,7 @@ void cChunkDesc::SetHeightFromShape(const Shape & a_Shape) { for (int x = 0; x < cChunkDef::Width; x++) { - for (unsigned char y = cChunkDef::Height - 1; y > 0; y--) + for (HEIGHTTYPE y = cChunkDef::Height - 1; y > 0; y--) { if (a_Shape[y + x * 256 + z * 16 * 256] != 0) { |