diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2015-02-26 20:26:45 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2015-02-26 20:26:45 +0100 |
commit | 81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82 (patch) | |
tree | 2c2dbd98772e5afeedf7ab2ca149b2395a86b86e /src/BiomeDef.cpp | |
parent | Ice finisher uses GetSnowStartHeight instead of specific biomes (diff) | |
download | cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar.gz cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar.bz2 cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar.lz cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar.xz cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.tar.zst cuberite-81e8577cfd9d1a8dd40ca1e9fc25c83f990b7f82.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BiomeDef.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp index 43f3ef0b1..bdc582863 100644 --- a/src/BiomeDef.cpp +++ b/src/BiomeDef.cpp @@ -223,7 +223,7 @@ bool IsBiomeCold(EMCSBiome a_Biome) -int GetSnowStartHeight(EMCSBiome a_Biome) +unsigned GetSnowStartHeight(EMCSBiome a_Biome) { switch (a_Biome) { @@ -237,7 +237,7 @@ int GetSnowStartHeight(EMCSBiome a_Biome) case biColdTaigaM: { // Always snow - return -1; + return 0; } case biExtremeHills: @@ -341,7 +341,7 @@ int GetSnowStartHeight(EMCSBiome a_Biome) default: { - return -1; + return 0; } } } |