diff options
author | madmaxoft <github@xoft.cz> | 2014-07-18 09:57:34 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-18 09:57:34 +0200 |
commit | 2df5e26d3b7f08ef7d120511705fa0b75a44783e (patch) | |
tree | 29c7d3211df380072585b5cfcb63d7e525d451ef /src/Generating | |
parent | Removed duplicate IPvX labels. (diff) | |
download | cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.gz cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.bz2 cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.lz cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.xz cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.tar.zst cuberite-2df5e26d3b7f08ef7d120511705fa0b75a44783e.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/FinishGen.cpp | 4 | ||||
-rw-r--r-- | src/Generating/HeiGen.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 13871bbd8..00a93023d 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -193,8 +193,8 @@ bool cFinishGenSprinkleFoliage::TryAddSugarcane(cChunkDesc & a_ChunkDesc, int a_ if ( !IsWater(a_ChunkDesc.GetBlockType(a_RelX - 1, a_RelY, a_RelZ)) && !IsWater(a_ChunkDesc.GetBlockType(a_RelX + 1, a_RelY, a_RelZ)) && - !IsWater(a_ChunkDesc.GetBlockType(a_RelX , a_RelY, a_RelZ - 1)) && - !IsWater(a_ChunkDesc.GetBlockType(a_RelX , a_RelY, a_RelZ + 1)) + !IsWater(a_ChunkDesc.GetBlockType(a_RelX, a_RelY, a_RelZ - 1)) && + !IsWater(a_ChunkDesc.GetBlockType(a_RelX, a_RelY, a_RelZ + 1)) ) { return false; diff --git a/src/Generating/HeiGen.cpp b/src/Generating/HeiGen.cpp index b02e06951..3df1a90ff 100644 --- a/src/Generating/HeiGen.cpp +++ b/src/Generating/HeiGen.cpp @@ -283,7 +283,7 @@ void cHeiGenClassic::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightM { hei = 250; } - cChunkDef::SetHeight(a_HeightMap, x , z, hei); + cChunkDef::SetHeight(a_HeightMap, x, z, hei); } // for x } // for z } @@ -345,7 +345,7 @@ void cHeiGenMountains::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::Heigh { hei = 250; } - cChunkDef::SetHeight(a_HeightMap, x , z, hei); + cChunkDef::SetHeight(a_HeightMap, x, z, hei); } // for x } // for z } |