summaryrefslogtreecommitdiffstats
path: root/src/BiomeDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BiomeDef.cpp')
-rw-r--r--src/BiomeDef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BiomeDef.cpp b/src/BiomeDef.cpp
index 5c1156484..3fba93e8a 100644
--- a/src/BiomeDef.cpp
+++ b/src/BiomeDef.cpp
@@ -13,11 +13,11 @@ EMCSBiome StringToBiome(const AString & a_BiomeString)
int res = atoi(a_BiomeString.c_str());
if ((res != 0) || (a_BiomeString.compare("0") == 0))
{
- if(res >= biFirstBiome && res < biNumBiomes)
+ if ((res >= biFirstBiome) && (res < biNumBiomes))
{
return (EMCSBiome)res;
}
- else if(res >= biFirstVarientBiome && res < biNumVarientBiomes)
+ else if ((res >= biFirstVariantBiome) && (res < biNumVariantBiomes))
{
return (EMCSBiome)res;
}