mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Minor stability improvements in block emerge handling
This commit is contained in:
parent
6c98fd6658
commit
9d57413af0
2 changed files with 18 additions and 17 deletions
|
@ -401,7 +401,7 @@ public:
|
|||
Blocks are generated by using these and makeBlock().
|
||||
*/
|
||||
bool initBlockMake(BlockMakeData *data, v3s16 blockpos);
|
||||
MapBlock *finishBlockMake(BlockMakeData *data,
|
||||
void finishBlockMake(BlockMakeData *data,
|
||||
std::map<v3s16, MapBlock*> &changed_blocks);
|
||||
|
||||
/*
|
||||
|
@ -419,7 +419,7 @@ public:
|
|||
|
||||
*/
|
||||
MapBlock * emergeBlock(v3s16 p, bool create_blank=true);
|
||||
|
||||
|
||||
/*
|
||||
Try to get a block.
|
||||
If it does not exist in memory, add it to the emerge queue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue