diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-05-24 14:33:40 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-05-24 14:33:40 +0200 |
commit | 8f964886e0ccbf51dac07227f0ac4c739b47d3a5 (patch) | |
tree | 534fec1ed8061513b67d8504a95f2bd926416d53 /src/Chunk.h | |
parent | Merge branch 'master' into chunksparsing/structs (diff) | |
download | cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar.gz cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar.bz2 cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar.lz cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar.xz cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.tar.zst cuberite-8f964886e0ccbf51dac07227f0ac4c739b47d3a5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index 2de45919e..d95537acf 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -67,7 +67,7 @@ public: cChunkMap * a_ChunkMap, cWorld * a_World, // Parent objects cChunk * a_NeighborXM, cChunk * a_NeighborXP, cChunk * a_NeighborZM, cChunk * a_NeighborZP // Neighbor chunks ); - cChunk(cChunk& other); + cChunk(cChunk & other); ~cChunk(); bool IsValid(void) const {return m_IsValid; } // Returns true if the chunk block data is valid (loaded / generated) @@ -156,7 +156,7 @@ public: void FastSetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta ); // Doesn't force block updates on neighbors, use for simple changes such as grass growing etc. BLOCKTYPE GetBlock(int a_RelX, int a_RelY, int a_RelZ) const; - BLOCKTYPE GetBlock(Vector3i a_cords) const { return GetBlock(a_cords.x,a_cords.y,a_cords.z);} + BLOCKTYPE GetBlock(Vector3i a_cords) const { return GetBlock(a_cords.x, a_cords.y, a_cords.z);} void GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta); void GetBlockInfo (int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight); |