summaryrefslogtreecommitdiffstats
path: root/src/ChunkData.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-06-14 20:05:02 +0200
committerTycho <work.tycho+git@gmail.com>2014-06-14 20:05:02 +0200
commit6b99e556462fdbdf6a265c014fb03f070b0f1b25 (patch)
tree96e70b12604c3a6733b15ee27083faff6543be92 /src/ChunkData.h
parentfixed spaces (diff)
downloadcuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar.gz
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar.bz2
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar.lz
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar.xz
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.tar.zst
cuberite-6b99e556462fdbdf6a265c014fb03f070b0f1b25.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkData.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ChunkData.h b/src/ChunkData.h
index aaefc4575..9dee78ad0 100644
--- a/src/ChunkData.h
+++ b/src/ChunkData.h
@@ -37,7 +37,7 @@ public:
struct sChunkSection;
- cChunkData(cAllocationPool<cChunkData::sChunkSection, 1600>& a_Pool);
+ cChunkData(cAllocationPool<cChunkData::sChunkSection, 1600> & a_Pool);
~cChunkData();
#if __cplusplus < 201103L
@@ -96,7 +96,8 @@ public:
Allows a_Src to be NULL, in which case it doesn't do anything. */
void SetSkyLight(const NIBBLETYPE * a_Src);
- struct sChunkSection {
+ struct sChunkSection
+ {
BLOCKTYPE m_BlockTypes [SectionHeight * 16 * 16] ;
NIBBLETYPE m_BlockMetas [SectionHeight * 16 * 16 / 2];
NIBBLETYPE m_BlockLight [SectionHeight * 16 * 16 / 2];
@@ -121,7 +122,7 @@ private:
/** Sets the data in the specified section to their default values. */
void ZeroSection(sChunkSection * a_Section) const;
- cAllocationPool<cChunkData::sChunkSection, 1600>& m_Pool;
+ cAllocationPool<cChunkData::sChunkSection, 1600> & m_Pool;
};