summaryrefslogtreecommitdiffstats
path: root/src/Generating/ChunkDesc.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-25 21:59:25 +0100
committermadmaxoft <github@xoft.cz>2014-03-25 21:59:41 +0100
commit87e0bd54b426bafb6b267725b0e1a94511a38f4e (patch)
tree1d21b4f61db53554b4f59c1883a8e5b695c8eadd /src/Generating/ChunkDesc.cpp
parentAdded Vector3::Move(const Vector3 &). (diff)
downloadcuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar.gz
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar.bz2
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar.lz
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar.xz
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.tar.zst
cuberite-87e0bd54b426bafb6b267725b0e1a94511a38f4e.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ChunkDesc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Generating/ChunkDesc.cpp b/src/Generating/ChunkDesc.cpp
index 308fbe423..7711723fc 100644
--- a/src/Generating/ChunkDesc.cpp
+++ b/src/Generating/ChunkDesc.cpp
@@ -343,9 +343,9 @@ void cChunkDesc::ReadBlockArea(cBlockArea & a_Dest, int a_MinRelX, int a_MaxRelX
int SizeY = a_MaxRelY - a_MinRelY;
int SizeZ = a_MaxRelZ - a_MinRelZ;
a_Dest.Clear();
- a_Dest.m_OriginX = m_ChunkX * cChunkDef::Width + a_MinRelX;
- a_Dest.m_OriginY = a_MinRelY;
- a_Dest.m_OriginZ = m_ChunkZ * cChunkDef::Width + a_MinRelZ;
+ a_Dest.m_Origin.x = m_ChunkX * cChunkDef::Width + a_MinRelX;
+ a_Dest.m_Origin.y = a_MinRelY;
+ a_Dest.m_Origin.z = m_ChunkZ * cChunkDef::Width + a_MinRelZ;
a_Dest.SetSize(SizeX, SizeY, SizeZ, cBlockArea::baTypes | cBlockArea::baMetas);
for (int y = 0; y < SizeY; y++)