diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-02-23 18:06:07 -0800 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-23 18:06:07 -0800 |
commit | 9bd76f2972b1cec909d886770f063ead07efbf17 (patch) | |
tree | 5adffffa74ca406fc36ec91df30bbd9f2d45186f /src/content_abm.cpp | |
parent | 6b9906687b85fcefa28df572d92a3dea3118c0a3 (diff) | |
parent | f0d70d4e86ddeae33939744535f0732434ad422e (diff) | |
download | minetest-9bd76f2972b1cec909d886770f063ead07efbf17.tar.gz minetest-9bd76f2972b1cec909d886770f063ead07efbf17.tar.bz2 minetest-9bd76f2972b1cec909d886770f063ead07efbf17.zip |
Merge pull request #505 from RealBadAngel/master
Add seed parameter for default and L-system trees
Diffstat (limited to 'src/content_abm.cpp')
-rw-r--r-- | src/content_abm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_abm.cpp b/src/content_abm.cpp index ce1751117..0dcf862fc 100644 --- a/src/content_abm.cpp +++ b/src/content_abm.cpp @@ -119,7 +119,7 @@ public: v3s16 tree_blockp = getNodeBlockPos(tree_p); vmanip.initialEmerge(tree_blockp - v3s16(1,1,1), tree_blockp + v3s16(1,1,1)); bool is_apple_tree = myrand()%4 == 0; - treegen::make_tree(vmanip, tree_p, is_apple_tree, ndef); + treegen::make_tree(vmanip, tree_p, is_apple_tree, ndef, myrand()); vmanip.blitBackAll(&modified_blocks); // update lighting |