1
0

changed int to unsigned

And return 0 instead of -1
This commit is contained in:
STRWarrior
2015-02-26 20:26:45 +01:00
parent ac2c88b451
commit 81e8577cfd
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}
}
}