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:
parent
db8cd2121c
commit
c413ed298e
5 changed files with 20 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue