summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-20 22:43:31 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-20 22:43:31 +0200
commita4470da876f8588fb71733a961701461f320e084 (patch)
tree44ca90e5efced03b99ca01600610ff6ae6e20744 /src/Generating/FinishGen.h
parentRenamed cFinishGenFoliage to cFinishGenTallGrass (diff)
downloadcuberite-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 '')
-rw-r--r--src/Generating/FinishGen.h26
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;
+ }
}
}
};