summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-04 14:05:42 +0200
committermadmaxoft <github@xoft.cz>2014-09-04 14:05:42 +0200
commit7ab4c078b873433a9b353b742a9a39540dd5219b (patch)
tree097b256f9ad40d302a3c33b32e86674420a51c8f
parentMerge remote-tracking branch 'origin/master' into EntitiesInBox (diff)
downloadcuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar.gz
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar.bz2
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar.lz
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar.xz
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.tar.zst
cuberite-7ab4c078b873433a9b353b742a9a39540dd5219b.zip
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 557434fbb..8c765c8c9 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1789,7 +1789,7 @@ bool cChunkMap::ForEachEntityInBox(const cBoundingBox & a_Box, cEntityCallback &
{
for (int x = MinChunkX; x <= MaxChunkX; x++)
{
- cChunkPtr Chunk = GetChunkNoGen(x, ZERO_CHUNK_Y, z);
+ cChunkPtr Chunk = GetChunkNoGen(x, z);
if ((Chunk == NULL) || !Chunk->IsValid())
{
continue;