mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Misc. cleanup and minor fixes
This commit is contained in:
parent
5ec5b1cbd6
commit
67c59645ec
5 changed files with 23 additions and 44 deletions
|
@ -432,12 +432,6 @@ int MapgenV6::getGroundLevelAtPoint(v2s16 p) {
|
|||
|
||||
void MapgenV6::makeChunk(BlockMakeData *data)
|
||||
{
|
||||
if(data->no_op)
|
||||
{
|
||||
//dstream<<"makeBlock: no-op"<<std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
this->generating = true;
|
||||
|
||||
assert(data->vmanip);
|
||||
|
@ -1436,4 +1430,5 @@ void MapgenV6::makeChunk(BlockMakeData *data)
|
|||
vmanip.spreadLight(bank, light_sources, ndef);
|
||||
}
|
||||
}
|
||||
this->generating = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue