diff options
Diffstat (limited to '')
-rw-r--r-- | src/BiomeDef.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp index bef808ef2..ebb45f5e9 100644 --- a/src/BiomeDef.cpp +++ b/src/BiomeDef.cpp @@ -223,6 +223,29 @@ bool IsBiomeCold(EMCSBiome a_Biome) +bool IsBiomeMountain(EMCSBiome a_Biome) +{ + switch (a_Biome) + { + case biExtremeHills: + case biExtremeHillsEdge: + case biExtremeHillsM: + case biExtremeHillsPlus: + case biExtremeHillsPlusM: + { + return true; + } + default: + { + return false; + } + } +} + + + + + int GetSnowStartHeight(EMCSBiome a_Biome) { switch (a_Biome) |