diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-18 21:47:25 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-18 21:47:25 +0100 |
commit | 4fa4d5e2b358d7598cc641495e77e0a6874028f4 (patch) | |
tree | 0cb018e66aa1c6a0fa3ecd198712744c61400989 /source/Generating/ChunkDesc.cpp | |
parent | Added support for the packet #28 (0x1C): ENTITY_VELOCITY (diff) | |
download | cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar.gz cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar.bz2 cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar.lz cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar.xz cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.tar.zst cuberite-4fa4d5e2b358d7598cc641495e77e0a6874028f4.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Generating/ChunkDesc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Generating/ChunkDesc.cpp b/source/Generating/ChunkDesc.cpp index 00ccacc07..9a2f2eff5 100644 --- a/source/Generating/ChunkDesc.cpp +++ b/source/Generating/ChunkDesc.cpp @@ -272,7 +272,7 @@ void cChunkDesc::WriteBlockArea(const cBlockArea & a_BlockArea, int a_RelX, int for (int x = 0; x < SizeX; x++)
{
int BAX = BAOffX + x;
- int CDX = BAOffX + x;
+ int CDX = CDOffX + x;
cChunkDef::SetBlock(m_BlockTypes, CDX, CDY, CDZ, a_BlockArea.GetRelBlockType(BAX, BAY, BAZ));
} // for x
} // for z
@@ -292,7 +292,7 @@ void cChunkDesc::WriteBlockArea(const cBlockArea & a_BlockArea, int a_RelX, int for (int x = 0; x < SizeX; x++)
{
int BAX = BAOffX + x;
- int CDX = BAOffX + x;
+ int CDX = CDOffX + x;
cChunkDef::SetNibble(m_BlockMeta, CDX, CDY, CDZ, a_BlockArea.GetRelBlockMeta(BAX, BAY, BAZ));
} // for x
} // for z
|