diff options
author | paramat <mat.gregory@virginmedia.com> | 2016-04-21 08:58:29 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-04-21 10:15:12 +0100 |
commit | 5c32c5e945275c612c10021bbd2117a73a97fc3f (patch) | |
tree | 806b20708f1735dd382b29d2be42666f3c505800 /src | |
parent | 9b437088dfff0303c99f70848f8f404b16ed1e55 (diff) | |
download | minetest-5c32c5e945275c612c10021bbd2117a73a97fc3f.tar.gz minetest-5c32c5e945275c612c10021bbd2117a73a97fc3f.tar.bz2 minetest-5c32c5e945275c612c10021bbd2117a73a97fc3f.zip |
Biomes: Make dust fallback 'ignore' to fix y = 63 lighting
The shadow bug at y = 63 was caused by dark air being placed as dust,
when the biome dust was unspecified it was falling back to 'air'
In dustTopNodes only dust == 'ignore' will disable dust placement
Diffstat (limited to 'src')
-rw-r--r-- | src/mg_biome.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mg_biome.cpp b/src/mg_biome.cpp index 055ce0198..9ab8d06cc 100644 --- a/src/mg_biome.cpp +++ b/src/mg_biome.cpp @@ -56,7 +56,7 @@ BiomeManager::BiomeManager(IGameDef *gamedef) : b->m_nodenames.push_back("mapgen_water_source"); b->m_nodenames.push_back("mapgen_water_source"); b->m_nodenames.push_back("mapgen_river_water_source"); - b->m_nodenames.push_back("air"); + b->m_nodenames.push_back("ignore"); m_ndef->pendNodeResolve(b); add(b); @@ -138,5 +138,5 @@ void Biome::resolveNodeNames() getIdFromNrBacklog(&c_water_top, "mapgen_water_source", CONTENT_AIR); getIdFromNrBacklog(&c_water, "mapgen_water_source", CONTENT_AIR); getIdFromNrBacklog(&c_river_water, "mapgen_river_water_source", CONTENT_AIR); - getIdFromNrBacklog(&c_dust, "air", CONTENT_IGNORE); + getIdFromNrBacklog(&c_dust, "ignore", CONTENT_IGNORE); } |