Skip to content

Commit 5c32c5e

Browse files
committedApr 21, 2016
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
1 parent 9b43708 commit 5c32c5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/mg_biome.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ BiomeManager::BiomeManager(IGameDef *gamedef) :
5656
b->m_nodenames.push_back("mapgen_water_source");
5757
b->m_nodenames.push_back("mapgen_water_source");
5858
b->m_nodenames.push_back("mapgen_river_water_source");
59-
b->m_nodenames.push_back("air");
59+
b->m_nodenames.push_back("ignore");
6060
m_ndef->pendNodeResolve(b);
6161

6262
add(b);
@@ -138,5 +138,5 @@ void Biome::resolveNodeNames()
138138
getIdFromNrBacklog(&c_water_top, "mapgen_water_source", CONTENT_AIR);
139139
getIdFromNrBacklog(&c_water, "mapgen_water_source", CONTENT_AIR);
140140
getIdFromNrBacklog(&c_river_water, "mapgen_river_water_source", CONTENT_AIR);
141-
getIdFromNrBacklog(&c_dust, "air", CONTENT_IGNORE);
141+
getIdFromNrBacklog(&c_dust, "ignore", CONTENT_IGNORE);
142142
}

0 commit comments

Comments
 (0)
Please sign in to comment.