mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix various variables passed by copy instead of const ref (#5610)
Pointed by cppcheck
This commit is contained in:
parent
5f2af7c4e8
commit
cf37a55690
14 changed files with 31 additions and 29 deletions
|
@ -73,7 +73,7 @@ namespace treegen {
|
|||
TreeDef tree_definition);
|
||||
// Spawn L-systems tree from LUA
|
||||
treegen::error spawn_ltree (ServerEnvironment *env, v3s16 p0, INodeDefManager *ndef,
|
||||
TreeDef tree_definition);
|
||||
const TreeDef &tree_definition);
|
||||
|
||||
// L-System tree gen helper functions
|
||||
void tree_node_placement(MMVManip &vmanip, v3f p0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue