summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
committermadmaxoft <github@xoft.cz>2014-07-18 09:57:34 +0200
commit2df5e26d3b7f08ef7d120511705fa0b75a44783e (patch)
tree29c7d3211df380072585b5cfcb63d7e525d451ef /src/Generating/FinishGen.cpp
parentRemoved duplicate IPvX labels. (diff)
downloadcuberite-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/FinishGen.cpp')
-rw-r--r--src/Generating/FinishGen.cpp4
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;