summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-02-28 17:27:28 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2015-02-28 17:27:28 +0100
commit224df08d30b556c0d7214e451fd4322ca75f32ea (patch)
tree37a58b049eb948bbef93f10af5c80dc17d7853d6
parentchanged int to unsigned (diff)
downloadcuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar.gz
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar.bz2
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar.lz
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar.xz
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.tar.zst
cuberite-224df08d30b556c0d7214e451fd4322ca75f32ea.zip
-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