1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-30 19:22:14 +00:00

unrelated refactor

This commit is contained in:
sfan5 2025-06-27 10:49:12 +02:00
parent db8cd2121c
commit c413ed298e
5 changed files with 20 additions and 23 deletions

View file

@ -775,12 +775,10 @@ void MMVManip::initialEmerge(v3s16 p_min, v3s16 p_max, bool load_if_inexistent)
(p_min*MAP_BLOCKSIZE, (p_max+1)*MAP_BLOCKSIZE-v3s16(1,1,1));
u32 size_MB = block_area_nodes.getVolume() * sizeof(MapNode) / 1000000U;
if(size_MB >= 1)
{
infostream<<"initialEmerge: area: ";
if (size_MB >= 4) {
infostream << "initialEmerge: area: ";
block_area_nodes.print(infostream);
infostream<<" ("<<size_MB<<"MB)";
infostream<<std::endl;
infostream << " (" << size_MB << "MB)" << std::endl;
}
std::map<v3s16, bool> had_blocks;