Added a FIXME for generator

This commit is contained in:
Dylan K. Taylor 2017-07-13 19:53:48 +01:00
parent 2a7b736f18
commit 08b8debd78

View File

@ -145,6 +145,9 @@ class Normal extends Generator{
return Biome::BIRCH_FOREST; return Biome::BIRCH_FOREST;
} }
}else{ }else{
//FIXME: This will always cause River to be used since the rainfall is always greater than 0.8 if we
//reached this branch. However I don't think that substituting temperature for rainfall is correct given
//that mountain biomes are supposed to be pretty cold.
if($rainfall < 0.25){ if($rainfall < 0.25){
return Biome::MOUNTAINS; return Biome::MOUNTAINS;
}elseif($rainfall < 0.70){ }elseif($rainfall < 0.70){