1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and content_mapblock.{h,cpp}

This commit is contained in:
Perttu Ahola 2011-06-17 23:20:31 +03:00
parent df5affe836
commit 682c9d8e7d
10 changed files with 1877 additions and 1832 deletions

View file

@ -4829,7 +4829,7 @@ MapBlock * ServerMap::emergeBlock(
bool black_air_left = false;
bool bottom_invalid =
block->propagateSunlight(light_sources, true,
&black_air_left, true);
&black_air_left);
// If sunlight didn't reach everywhere and part of block is
// above ground, lighting has to be properly updated