summaryrefslogtreecommitdiffstats
path: root/src/Generating/Trees.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-08 15:59:30 +0100
committerMattes D <github@xoft.cz>2015-03-08 15:59:30 +0100
commit5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9 (patch)
tree280190d80b4a8a00f983c4dfcbe2f5e5be880bef /src/Generating/Trees.cpp
parentMerge pull request #1784 from mc-server/SteppyHeiGen (diff)
parentAdded parenthesis around the comparisons (diff)
downloadcuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar.gz
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar.bz2
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar.lz
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar.xz
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.tar.zst
cuberite-5b74987a59c23c579ebb2bcc37d83bfa7fc6acc9.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/Trees.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/Generating/Trees.cpp b/src/Generating/Trees.cpp
index a10e0f4f1..9e72a688f 100644
--- a/src/Generating/Trees.cpp
+++ b/src/Generating/Trees.cpp
@@ -224,9 +224,6 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No
case biMegaTaiga:
case biMegaTaigaHills:
case biExtremeHillsPlus:
- case biMesa:
- case biMesaPlateauF:
- case biMesaPlateau:
case biSunflowerPlains:
case biDesertM:
case biExtremeHillsM:
@@ -239,9 +236,6 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No
case biMegaSpruceTaiga:
case biMegaSpruceTaigaHills:
case biExtremeHillsPlusM:
- case biMesaBryce:
- case biMesaPlateauFM:
- case biMesaPlateauM:
{
// TODO: These need their special trees
GetBirchTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
@@ -264,6 +258,16 @@ void GetTreeImageByBiome(int a_BlockX, int a_BlockY, int a_BlockZ, cNoise & a_No
return;
}
+ case biMesa:
+ case biMesaPlateauF:
+ case biMesaPlateau:
+ case biMesaBryce:
+ case biMesaPlateauFM:
+ case biMesaPlateauM:
+ {
+ GetSmallAppleTreeImage(a_BlockX, a_BlockY, a_BlockZ, a_Noise, a_Seq, a_LogBlocks, a_OtherBlocks);
+ }
+
case biDesert:
case biDesertHills:
case biRiver: