mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
General code refactoring/improvements in server, treegen and connection
This commit is contained in:
parent
24f2c38093
commit
bc4ab8b99e
34 changed files with 330 additions and 439 deletions
|
@ -492,5 +492,5 @@ size_t DecoLSystem::generate(MMVManip *vm, PcgRandom *pr, v3s16 p, bool ceiling)
|
|||
|
||||
// Make sure that tree_def can't be modified, since it is shared.
|
||||
const auto &ref = *tree_def;
|
||||
return treegen::make_ltree(*vm, p, m_ndef, ref);
|
||||
return treegen::make_ltree(*vm, p, ref);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue