1
0

Fixed Compile errors

c++11 introduces scoped enums, so the code didn't fail in clang
This commit is contained in:
Tycho
2014-02-03 13:01:12 -08:00
parent f8881622a4
commit d9fb83300c
4 changed files with 7 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ void cBioGenConstant::InitializeBiomeGen(cIniFile & a_IniFile)
{
AString Biome = a_IniFile.GetValueSet("Generator", "ConstantBiome", "Plains");
m_Biome = StringToBiome(Biome);
if (m_Biome == EMCSBiome::biInvalidBiome)
if (m_Biome == biInvalidBiome)
{
LOGWARN("[Generator]::ConstantBiome value \"%s\" not recognized, using \"Plains\".", Biome.c_str());
m_Biome = biPlains;