diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-07-07 16:37:53 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-07-07 16:37:53 +0200 |
commit | bbf5bec817c6c9824155c15d34806db152d5ed43 (patch) | |
tree | 80f9532ae5814da4c168dbf7138ea9a289fc4a8c /src/Generating/FinishGen.cpp | |
parent | Added bed entity (#3823) (diff) | |
download | cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar.gz cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar.bz2 cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar.lz cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar.xz cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.tar.zst cuberite-bbf5bec817c6c9824155c15d34806db152d5ed43.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/FinishGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index df8d0929d..f6d6a2ff1 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -260,7 +260,7 @@ void cFinishGenClumpTopBlock::TryPlaceFoliageClump(cChunkDesc & a_ChunkDesc, int a_ChunkDesc.SetBlockTypeMeta(x, Top + 1, z, a_BlockType, a_BlockMeta); if (a_IsDoubleTall) { - a_ChunkDesc.SetBlockTypeMeta(x, Top + 2, z, E_BLOCK_BIG_FLOWER, 0x8 | a_BlockMeta); + a_ChunkDesc.SetBlockTypeMeta(x, Top + 2, z, E_BLOCK_BIG_FLOWER, E_META_BIG_FLOWER_TOP); a_ChunkDesc.SetHeight(x, z, static_cast<HEIGHTTYPE>(Top + 2)); } else @@ -554,7 +554,7 @@ void cFinishGenTallGrass::GenFinish(cChunkDesc & a_ChunkDesc) { NIBBLETYPE Meta = (m_Noise.IntNoise2DInt(xx * 100, zz * 100) / 7 % 100) > 25 ? 2 : 3; a_ChunkDesc.SetBlockTypeMeta(x, y, z, E_BLOCK_BIG_FLOWER, Meta); - a_ChunkDesc.SetBlockTypeMeta(x, y + 1, z, E_BLOCK_BIG_FLOWER, 0x8 | Meta); + a_ChunkDesc.SetBlockTypeMeta(x, y + 1, z, E_BLOCK_BIG_FLOWER, E_META_BIG_FLOWER_TOP); a_ChunkDesc.SetHeight(x, z, static_cast<HEIGHTTYPE>(y + 1)); } } |