summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-03 22:01:12 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-03 22:01:12 +0100
commitd9fb83300cf831ea31a74d509f9be9f2ed4f1189 (patch)
tree3168d88fa61eaf37d4511b1d45e8fcdc87f70784 /src/Generating/BioGen.cpp
parentRemoved unused lookups (diff)
downloadcuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar.gz
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar.bz2
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar.lz
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar.xz
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.tar.zst
cuberite-d9fb83300cf831ea31a74d509f9be9f2ed4f1189.zip
Diffstat (limited to 'src/Generating/BioGen.cpp')
-rw-r--r--src/Generating/BioGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp
index 1a18f53f1..20f269fc8 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -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;