summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/BiomeDef.cpp2
-rw-r--r--src/BiomeDef.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp
index bdc582863..3e34ebdbe 100644
--- a/src/BiomeDef.cpp
+++ b/src/BiomeDef.cpp
@@ -223,7 +223,7 @@ bool IsBiomeCold(EMCSBiome a_Biome)
-unsigned GetSnowStartHeight(EMCSBiome a_Biome)
+int GetSnowStartHeight(EMCSBiome a_Biome)
{
switch (a_Biome)
{
diff --git a/src/BiomeDef.h b/src/BiomeDef.h
index 9b2369e5f..cda12556a 100644
--- a/src/BiomeDef.h
+++ b/src/BiomeDef.h
@@ -130,6 +130,6 @@ Doesn't report Very Cold biomes, use IsBiomeVeryCold() for those. */
extern bool IsBiomeCold(EMCSBiome a_Biome);
/** Returns the height when a biome when a biome starts snowing.*/
-extern unsigned GetSnowStartHeight(EMCSBiome a_Biome);
+extern int GetSnowStartHeight(EMCSBiome a_Biome);
// tolua_end