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/FinishGen.cpp | |
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 '')
-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 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; |