summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-07-07 11:50:06 +0200
committerMattes D <github@xoft.cz>2015-07-07 11:50:06 +0200
commitbebd4de14457fbbc7fd49900cfdc36c8d5efb755 (patch)
treefb2000f4483f97bda0080ae3e87b6701d37464b9 /src/ClientHandle.cpp
parentMerge pull request #2319 from SamJBarney/master (diff)
downloadcuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.gz
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.bz2
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.lz
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.xz
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.zst
cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 9ed89e0a3..6ca43da6f 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -440,9 +440,9 @@ bool cClientHandle::StreamNextChunk(void)
int RangeX, RangeZ = 0;
cChunkDef::BlockToChunk(FloorC(Vector.x), FloorC(Vector.z), RangeX, RangeZ);
- for (size_t X = 0; X < 7; X++)
+ for (int X = 0; X < 7; X++)
{
- for (size_t Z = 0; Z < 7; Z++)
+ for (int Z = 0; Z < 7; Z++)
{
int ChunkX = RangeX + ((X >= 4) ? (3 - X) : X);
int ChunkZ = RangeZ + ((Z >= 4) ? (3 - Z) : Z);