summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-07 14:24:25 +0100
committermadmaxoft <github@xoft.cz>2014-01-07 14:24:25 +0100
commit934b90c121def4f6f9a7c919727cadeeca49981f (patch)
tree8ca75ec9f6f0bb3a937657e863375ac8920fc66e /src/Generating/FinishGen.cpp
parentAdded Base64Encode(). (diff)
downloadcuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.gz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.bz2
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.lz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.xz
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.zst
cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/FinishGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index 866551e8a..145fe22e0 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -528,7 +528,7 @@ cFinishGenFluidSprings::cFinishGenFluidSprings(int a_Seed, BLOCKTYPE a_Fluid, cI
bool IsWater = (a_Fluid == E_BLOCK_WATER);
AString SectionName = IsWater ? "WaterSprings" : "LavaSprings";
AString DefaultHeightDistribution;
- int DefaultChance;
+ int DefaultChance = 0;
switch (a_World.GetDimension())
{
case dimNether: