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:
parent
df5affe836
commit
682c9d8e7d
10 changed files with 1877 additions and 1832 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue