Fixed minor style issues
This commit is contained in:
+1
-1
Submodule MCServer/Plugins/Core updated: 013a32a7fb...5c8557d4fd
+1
-1
@@ -1843,7 +1843,7 @@ void cBlockArea::cChunkReader::ChunkBuffer(const cChunkBuffer & a_BlockBuffer)
|
||||
int SizeY = m_Area.m_Size.y;
|
||||
int MinY = m_Origin.y;
|
||||
|
||||
// SizeX, SizeZ are the dmensions of the block data to copy from the current chunk (size of the geometric union)
|
||||
// SizeX, SizeZ are the dimensions of the block data to copy from the current chunk (size of the geometric union)
|
||||
// OffX, OffZ are the offsets of the current chunk data from the area origin
|
||||
// BaseX, BaseZ are the offsets of the area data within the current chunk from the chunk borders
|
||||
int SizeX = cChunkDef::Width;
|
||||
|
||||
+2
-2
@@ -317,8 +317,8 @@ protected:
|
||||
void CopyNibbles(NIBBLETYPE * a_AreaDst, const NIBBLETYPE * a_ChunkSrc);
|
||||
|
||||
// cChunkDataCallback overrides:
|
||||
virtual bool Coords (int a_ChunkX, int a_ChunkZ) override;
|
||||
virtual void ChunkBuffer (const cChunkBuffer & a_BlockTypes) override;
|
||||
virtual bool Coords(int a_ChunkX, int a_ChunkZ) override;
|
||||
virtual void ChunkBuffer(const cChunkBuffer & a_BlockTypes) override;
|
||||
} ;
|
||||
|
||||
typedef NIBBLETYPE * NIBBLEARRAY;
|
||||
|
||||
+4
-4
@@ -282,10 +282,10 @@ void cChunk::SetAllData(
|
||||
CalculateHeightmap(a_BlockTypes);
|
||||
}
|
||||
|
||||
m_ChunkBuffer.SetBlocks (a_BlockTypes);
|
||||
m_ChunkBuffer.SetMeta (a_BlockMeta);
|
||||
m_ChunkBuffer.SetLight (a_BlockLight);
|
||||
m_ChunkBuffer.SetSkyLight (a_BlockSkyLight);
|
||||
m_ChunkBuffer.SetBlocks(a_BlockTypes);
|
||||
m_ChunkBuffer.SetMeta(a_BlockMeta);
|
||||
m_ChunkBuffer.SetLight(a_BlockLight);
|
||||
m_ChunkBuffer.SetSkyLight(a_BlockSkyLight);
|
||||
|
||||
m_IsLightValid = (a_BlockLight != NULL) && (a_BlockSkyLight != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user