diff options
author | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-02 02:28:46 +0100 |
---|---|---|
committer | p-mcgowan <mickeymcgowan@shaw.ca> | 2014-12-02 02:28:46 +0100 |
commit | 3bf111c69e11623947da70520063c57238d67bf0 (patch) | |
tree | e5daf17c7bd7ff7421e815bd181f2141234288f5 /src/Generating/FinishGen.h | |
parent | cacti no longer spawn outside of desert variants (diff) | |
download | cuberite-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.h')
-rw-r--r-- | src/Generating/FinishGen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index 16128efa5..dd6a09c6a 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -149,8 +149,8 @@ protected: /// Tries to place sugarcane at the coords specified, returns true if successful bool TryAddSugarcane(cChunkDesc & a_ChunkDesc, int a_RelX, int a_RelY, int a_RelZ); - // Checks if biome is a desert to spawn cacti as opposed to just sand - bool IsDesertVariant(EMCSBiome a_biome); + // Returns true is the specified biome is a desert or its variant + static bool IsDesertVariant(EMCSBiome a_biome); // cFinishGen override: virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; |