1
0

Fixed a copypasta error in cChunkDesc's BlockArea writer

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1284 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2013-03-18 20:47:25 +00:00
parent 8557ed8359
commit 4fa4d5e2b3

View File

@ -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