summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-11-14 08:38:59 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-11-14 08:38:59 +0100
commitdc94b927534f6216a0ace7690ba250b69c014407 (patch)
tree8f3244f256454eb11936025672bafb2ed8861049 /source
parentAdded the last bit of the enum, and alpha-sorted the switch. (diff)
downloadcuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar.gz
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar.bz2
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar.lz
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar.xz
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.tar.zst
cuberite-dc94b927534f6216a0ace7690ba250b69c014407.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/StructGen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Generating/StructGen.cpp b/source/Generating/StructGen.cpp
index 2180261aa..bd8f5d581 100644
--- a/source/Generating/StructGen.cpp
+++ b/source/Generating/StructGen.cpp
@@ -274,6 +274,7 @@ int cStructGenTrees::GetNumTrees(
case biExtremeHillsEdge: Add = 5; break;
case biJungle: Add = 120; break;
case biJungleHills: Add = 90; break;
+ default: Add = 0; break;
}
NumTrees += Add;
}