aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapgen.h b/src/mapgen.h
index 5caee2efa..55aede099 100644
--- a/src/mapgen.h
+++ b/src/mapgen.h
@@ -43,7 +43,8 @@ namespace mapgen
void add_random_objects(MapBlock *block);
// Add a tree
- void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0, bool is_apple_tree);
+ void make_tree(ManualMapVoxelManipulator &vmanip, v3s16 p0,
+ bool is_apple_tree, INodeDefManager *ndef);
/*
These are used by FarMesh
@@ -59,7 +60,7 @@ namespace mapgen
u64 seed;
v3s16 blockpos;
UniqueQueue<v3s16> transforming_liquid;
- INodeDefManager *nodemgr; // Destructor deletes
+ INodeDefManager *nodedef; // Destructor deletes
BlockMakeData();
~BlockMakeData();