diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-02-06 11:37:34 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-02-06 11:37:34 +0100 |
commit | 6fdd7194c81be7234a126bdc3b48f0291fce3567 (patch) | |
tree | 7d5ac74b7385ce4ebf77588d80549c884c2b993c /src/SetChunkData.cpp | |
parent | Merge pull request #2958 from LogicParrot/fence (diff) | |
parent | Bulk clearing of whitespace (diff) | |
download | cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.gz cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.bz2 cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.lz cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.xz cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.zst cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.zip |
Diffstat (limited to 'src/SetChunkData.cpp')
-rw-r--r-- | src/SetChunkData.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SetChunkData.cpp b/src/SetChunkData.cpp index c0ae31fd3..d85f78459 100644 --- a/src/SetChunkData.cpp +++ b/src/SetChunkData.cpp @@ -48,7 +48,7 @@ cSetChunkData::cSetChunkData( // Copy block types and metas: memcpy(m_BlockTypes, a_BlockTypes, sizeof(cChunkDef::BlockTypes)); memcpy(m_BlockMetas, a_BlockMetas, sizeof(cChunkDef::BlockNibbles)); - + // Copy lights, if both given: if ((a_BlockLight != nullptr) && (a_SkyLight != nullptr)) { @@ -60,7 +60,7 @@ cSetChunkData::cSetChunkData( { m_IsLightValid = false; } - + // Copy the heightmap, if available: if (a_HeightMap != nullptr) { @@ -71,7 +71,7 @@ cSetChunkData::cSetChunkData( { m_IsHeightMapValid = false; } - + // Copy biomes, if available: if (a_Biomes != nullptr) { @@ -82,7 +82,7 @@ cSetChunkData::cSetChunkData( { m_AreBiomesValid = false; } - + // Move entities and blockentities: m_Entities = std::move(a_Entities); m_BlockEntities = std::move(a_BlockEntities); |