From 4fa4d5e2b358d7598cc641495e77e0a6874028f4 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 18 Mar 2013 20:47:25 +0000 Subject: 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 --- source/Generating/ChunkDesc.cpp | 4 ++-- 1 file 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 -- cgit v1.2.3