From 4cc619eb31c452879e4f558bc16aa322d2ae8d70 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 4 Feb 2017 15:00:22 +1100 Subject: [PATCH] fix branches with mangrove tree --- MCGalaxy/Generator/Foliage/ForesterTrees.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MCGalaxy/Generator/Foliage/ForesterTrees.cs b/MCGalaxy/Generator/Foliage/ForesterTrees.cs index d8691ccde..3908fb6e1 100644 --- a/MCGalaxy/Generator/Foliage/ForesterTrees.cs +++ b/MCGalaxy/Generator/Foliage/ForesterTrees.cs @@ -333,8 +333,8 @@ namespace MCGalaxy.Generator.Foliage { public class RoundTree : ProceduralTree { public override void Prepare() { - branchslope = 0.382f; base.Prepare(); + branchslope = 0.382f; foliage_shape = new [] { 2, 3, 3, 2.5f, 1.6f }; trunkradius = trunkradius * 0.8f; trunkheight = TRUNKHEIGHT * trunkheight; @@ -365,8 +365,8 @@ namespace MCGalaxy.Generator.Foliage { public class ConeTree : ProceduralTree { public override void Prepare() { - branchslope = 0.15f; base.Prepare(); + branchslope = 0.15f; foliage_shape = new [] { 3, 2.6f, 2, 1 }; trunkradius = trunkradius * 0.5f; } @@ -387,9 +387,9 @@ namespace MCGalaxy.Generator.Foliage { public class RainforestTree : ProceduralTree { public override void Prepare() { - foliage_shape = new [] { 3.4f, 2.6f }; - branchslope = 1.0f; base.Prepare(); + foliage_shape = new [] { 3.4f, 2.6f }; + branchslope = 1.0f; trunkradius = trunkradius * 0.382f; trunkheight = trunkheight * 0.9f; } @@ -416,8 +416,8 @@ namespace MCGalaxy.Generator.Foliage { public class MangroveTree : RoundTree { public override void Prepare() { - branchslope = 1.0f; base.Prepare(); + branchslope = 1.0f; trunkradius = trunkradius * 0.618f; }