Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
paramat committed Apr 21, 2016
1 parent 9b43708 commit 5c32c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mg_biome.cpp
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

0 comments on commit 5c32c5e

Please sign in to comment.