mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Mapgen V6: Synchronize spflags with defaultsettings
This fixes an issue where trees are omitted from Mapgen V6 maps on configurations that explicitly defined the mgv6_spflags setting.
This commit is contained in:
parent
5d9b6aaa03
commit
ebe638c32d
@ -319,7 +319,6 @@ void set_default_settings(Settings *settings)
|
||||
settings->setDefault("water_level", "1");
|
||||
settings->setDefault("chunksize", "5");
|
||||
settings->setDefault("mg_flags", "dungeons");
|
||||
settings->setDefault("mgv6_spflags", "jungles, snowbiomes, trees");
|
||||
|
||||
// IPv6
|
||||
settings->setDefault("enable_ipv6", "true");
|
||||
|
@ -140,7 +140,9 @@ MapgenV6::~MapgenV6()
|
||||
|
||||
MapgenV6Params::MapgenV6Params()
|
||||
{
|
||||
spflags = MGV6_BIOMEBLEND | MGV6_MUDFLOW;
|
||||
spflags = MGV6_JUNGLES | MGV6_SNOWBIOMES | MGV6_TREES |
|
||||
MGV6_BIOMEBLEND | MGV6_MUDFLOW;
|
||||
|
||||
freq_desert = 0.45;
|
||||
freq_beach = 0.15;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user