diff options
author | Mattes D <github@xoft.cz> | 2014-12-04 23:08:33 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-12-04 23:08:33 +0100 |
commit | 8046022a837319000af913697147e5576bbb8348 (patch) | |
tree | a460a2b6d674e64764b6a70c820d7a1d9867e7f8 /src/Generating/FinishGen.h | |
parent | Merge pull request #1645 from jonfabe/SpectatorModeFixes (diff) | |
parent | conflict resolution (diff) | |
download | cuberite-8046022a837319000af913697147e5576bbb8348.tar cuberite-8046022a837319000af913697147e5576bbb8348.tar.gz cuberite-8046022a837319000af913697147e5576bbb8348.tar.bz2 cuberite-8046022a837319000af913697147e5576bbb8348.tar.lz cuberite-8046022a837319000af913697147e5576bbb8348.tar.xz cuberite-8046022a837319000af913697147e5576bbb8348.tar.zst cuberite-8046022a837319000af913697147e5576bbb8348.zip |
Diffstat (limited to 'src/Generating/FinishGen.h')
-rw-r--r-- | src/Generating/FinishGen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index c1100b51f..f568d18bb 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -149,6 +149,9 @@ 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); + // 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; } ; |