summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.cpp
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 02:28:46 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 02:28:46 +0100
commit3bf111c69e11623947da70520063c57238d67bf0 (patch)
treee5daf17c7bd7ff7421e815bd181f2141234288f5 /src/Generating/FinishGen.cpp
parentcacti no longer spawn outside of desert variants (diff)
downloadcuberite-3bf111c69e11623947da70520063c57238d67bf0.tar
cuberite-3bf111c69e11623947da70520063c57238d67bf0.tar.gz
cuberite-3bf111c69e11623947da70520063c57238d67bf0.tar.bz2
cuberite-3bf111c69e11623947da70520063c57238d67bf0.tar.lz
cuberite-3bf111c69e11623947da70520063c57238d67bf0.tar.xz
cuberite-3bf111c69e11623947da70520063c57238d67bf0.tar.zst
cuberite-3bf111c69e11623947da70520063c57238d67bf0.zip
Diffstat (limited to 'src/Generating/FinishGen.cpp')
-rw-r--r--src/Generating/FinishGen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp
index e09646758..cba45c0a1 100644
--- a/src/Generating/FinishGen.cpp
+++ b/src/Generating/FinishGen.cpp
@@ -392,11 +392,11 @@ void cFinishGenSprinkleFoliage::GenFinish(cChunkDesc & a_ChunkDesc)
-bool cFinishGenSprinkleFoliage::IsDesertVariant(EMCSBiome a_biome)
+bool cFinishGenSprinkleFoliage::IsDesertVariant(EMCSBiome a_Biome)
{
- return a_biome == biDesertHills ||
- a_biome == biDesert ||
- a_biome == biDesertM;
+ return (a_Biome == biDesertHills) ||
+ (a_Biome == biDesert ) ||
+ (a_Biome == biDesertM );
}