From efa5310d69e00ce6b86e793d4fa0295251b68ee9 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Tue, 20 Apr 2021 17:04:31 +0200 Subject: fixes the fallthrough (#5198) --- src/Generating/Trees.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Generating') diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp index 74742614c..28f0da6ce 100644 --- a/src/Generating/Trees.cpp +++ b/src/Generating/Trees.cpp @@ -476,6 +476,7 @@ void GetTreeImageByBiome(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, EMCSB case biMesaPlateauM: { GetSmallAppleTreeImage(a_BlockPos, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); + return; } case biMushroomIsland: case biMushroomShore: @@ -488,6 +489,7 @@ void GetTreeImageByBiome(Vector3i a_BlockPos, cNoise & a_Noise, int a_Seq, EMCSB { GetRedMushroomTreeImage(a_BlockPos, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks); } + return; } case biDesert: case biDesertHills: -- cgit v1.2.3