diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-06-14 20:56:01 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-06-14 20:56:01 +0200 |
commit | f97116141f464d4e27515197eec7d42f9d2ba772 (patch) | |
tree | fcb95ea469710e9d51b6c82a6f2436049df05a78 /src | |
parent | Moved m_Sections (diff) | |
download | cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar.gz cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar.bz2 cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar.lz cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar.xz cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.tar.zst cuberite-f97116141f464d4e27515197eec7d42f9d2ba772.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/ChunkMap.cpp | 7 | ||||
-rw-r--r-- | src/ChunkMap.h | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp index 3b946f9ec..d2ccca94e 100644 --- a/src/ChunkMap.cpp +++ b/src/ChunkMap.cpp @@ -2677,8 +2677,11 @@ void cChunkMap::QueueTickBlock(int a_BlockX, int a_BlockY, int a_BlockZ) //////////////////////////////////////////////////////////////////////////////// // cChunkMap::cChunkLayer: -cChunkMap::cChunkLayer::cChunkLayer(int a_LayerX, int a_LayerZ, cChunkMap * a_Parent, - cAllocationPool<cChunkData::sChunkSection> & a_Pool) +cChunkMap::cChunkLayer::cChunkLayer( + int a_LayerX, int a_LayerZ, + cChunkMap * a_Parent, + cAllocationPool<cChunkData::sChunkSection> & a_Pool +) : m_LayerX( a_LayerX ) , m_LayerZ( a_LayerZ ) , m_Parent( a_Parent ) diff --git a/src/ChunkMap.h b/src/ChunkMap.h index c1dc743e5..0d6f1f80a 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -351,8 +351,11 @@ private: class cChunkLayer { public: - cChunkLayer(int a_LayerX, int a_LayerZ, cChunkMap * a_Parent, - cAllocationPool<cChunkData::sChunkSection> & a_Pool); + cChunkLayer( + int a_LayerX, int a_LayerZ, + cChunkMap * a_Parent, + cAllocationPool<cChunkData::sChunkSection> & a_Pool + ); ~cChunkLayer(); /** Always returns an assigned chunkptr, but the chunk needn't be valid (loaded / generated) - callers must check */ |