summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Generating/Trees.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index 8b5e72515..cd2748ddd 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -1035,11 +1035,11 @@ void GetLargeSpruceTreeImage(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, s
for (int i = 0; i < LeavesRingCount; i++)
{
unsigned int Val = (a_Noise.IntNoise3DInt(a_BlockPos.addedXZ(32 * a_Seq, 32 * i)) / 23) % 8;
- if ((Val < 4) && RingRadius <= 3)
+ if ((Val < 4) && RingRadius < 3)
{
RingRadius++;
}
- else if ((Val >= 7) && (RingRadius <= 0))
+ else if ((Val == 7) && (RingRadius > 0))
{
RingRadius--;
}