mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
.
This commit is contained in:
parent
d44abdab17
commit
7dc6b03f31
@ -1368,7 +1368,7 @@ void Map::PrintInfo(std::ostream &out)
|
|||||||
void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
||||||
{
|
{
|
||||||
DSTACK(__FUNCTION_NAME);
|
DSTACK(__FUNCTION_NAME);
|
||||||
TimeTaker timer("transformLiquids()");
|
//TimeTaker timer("transformLiquids()");
|
||||||
|
|
||||||
u32 loopcount = 0;
|
u32 loopcount = 0;
|
||||||
u32 initial_size = m_transforming_liquid.size();
|
u32 initial_size = m_transforming_liquid.size();
|
||||||
@ -1630,7 +1630,7 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
|||||||
if(loopcount >= initial_size * 1)
|
if(loopcount >= initial_size * 1)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
dstream<<"Map::transformLiquids(): loopcount="<<loopcount<<std::endl;
|
//dstream<<"Map::transformLiquids(): loopcount="<<loopcount<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user