summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authormBornand <bornand.m3@gmail.com>2020-05-07 23:15:40 +0200
committerAlexander Harkness <me@bearbin.net>2020-08-05 19:41:17 +0200
commite9bf6edbeb8b3e8412c0805ef021f46aeb838da6 (patch)
tree8eabf70f356d45940554e42a15d4525f74dffbf2 /src/World.cpp
parenterror in comment end (diff)
downloadcuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar.gz
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar.bz2
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar.lz
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar.xz
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.tar.zst
cuberite-e9bf6edbeb8b3e8412c0805ef021f46aeb838da6.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index d19d9f6c6..aca640091 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1626,7 +1626,12 @@ bool cWorld::GrowTreeFromSapling(int a_X, int a_Y, int a_Z, NIBBLETYPE a_Sapling
{
case E_META_SAPLING_APPLE: GetAppleTreeImage ({ a_X, a_Y, a_Z }, Noise, WorldAge, Logs, Other); break;
case E_META_SAPLING_BIRCH: GetBirchTreeImage ({ a_X, a_Y, a_Z }, Noise, WorldAge, Logs, Other); break;
- case E_META_SAPLING_CONIFER: GetConiferTreeImage({ a_X, a_Y, a_Z }, Noise, WorldAge, Logs, Other); break;
+ case E_META_SAPLING_CONIFER:
+ {
+ bool IsLarge = GetLargeTreeAdjustment(a_X, a_Y, a_Z, a_SaplingMeta);
+ GetConiferTreeImage({ a_X, a_Y, a_Z }, Noise, WorldAge, Logs, Other, IsLarge);
+ break;
+ }
case E_META_SAPLING_ACACIA: GetAcaciaTreeImage ({ a_X, a_Y, a_Z }, Noise, WorldAge, Logs, Other); break;
case E_META_SAPLING_JUNGLE:
{