aboutsummaryrefslogtreecommitdiff
path: root/src/treegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/treegen.h')
-rw-r--r--src/treegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treegen.h b/src/treegen.h
index 4e6f95e67..8777c369c 100644
--- a/src/treegen.h
+++ b/src/treegen.h
@@ -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,