diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-20 22:43:31 +0200 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-07-20 22:43:31 +0200 |
commit | a4470da876f8588fb71733a961701461f320e084 (patch) | |
tree | 44ca90e5efced03b99ca01600610ff6ae6e20744 /src/Generating/FinishGen.h | |
parent | Renamed cFinishGenFoliage to cFinishGenTallGrass (diff) | |
download | cuberite-a4470da876f8588fb71733a961701461f320e084.tar cuberite-a4470da876f8588fb71733a961701461f320e084.tar.gz cuberite-a4470da876f8588fb71733a961701461f320e084.tar.bz2 cuberite-a4470da876f8588fb71733a961701461f320e084.tar.lz cuberite-a4470da876f8588fb71733a961701461f320e084.tar.xz cuberite-a4470da876f8588fb71733a961701461f320e084.tar.zst cuberite-a4470da876f8588fb71733a961701461f320e084.zip |
Diffstat (limited to 'src/Generating/FinishGen.h')
-rw-r--r-- | src/Generating/FinishGen.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index 17a807e9b..f673ac2c2 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -82,22 +82,22 @@ protected: // cFinishGen override: virtual void GenFinish(cChunkDesc & a_ChunkDesc) override; - float GetBiomeDensity(EMCSBiome a_Biome) + int GetBiomeDensity(EMCSBiome a_Biome) { switch (a_Biome) { - case biSavanna: - case biSavannaM: - case biSavannaPlateau: - case biSavannaPlateauM: - case biPlains: - { - return 0.4f; - } - default: - { - return -0.6f; - } + case biSavanna: + case biSavannaM: + case biSavannaPlateau: + case biSavannaPlateauM: + case biPlains: + { + return 70; + } + default: + { + return 20; + } } } }; |