summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BiomeDef.cpp')
-rw-r--r--src/BiomeDef.cpp6
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;
}
}
}