summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Generating/FinishGen.h')
-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;
+ }
}
}
};