summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormBornand <bornand.m3@gmail.com>2020-05-08 16:28:05 +0200
committerAlexander Harkness <me@bearbin.net>2020-08-05 19:41:19 +0200
commit4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54 (patch)
treeab278f9c4ea48aa248027d830f78222efa35344c /src
parentupdate comment (diff)
downloadcuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar.gz
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar.bz2
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar.lz
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar.xz
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.tar.zst
cuberite-4c0e7e0ab4b5733a802107fa9f1c2ef9c821dd54.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/Trees.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index bd71d946b..8b5e72515 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -833,7 +833,7 @@ void GetTallBirchTreeImage(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, sSe
void GetConiferTreeImage(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, sSetBlockVector & a_LogBlocks, sSetBlockVector & a_OtherBlocks, bool a_Large)
{
- // Half chance for a spruce, half for a pine:
+ // Half chance for a spruce, half for a pine and for the large ones 3 chances for a pine and one for spruce:
if (a_Noise.IntNoise3DInt(a_BlockPos.addedX(64 * a_Seq).addedZ(32 * a_Seq)) < (a_Large ? 0x20000000 : 0x40000000))
{
GetSpruceTreeImage(a_BlockPos, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks, a_Large);