diff options
author | RealBadAngel <mk@realbadangel.pl> | 2012-12-29 16:20:09 +0100 |
---|---|---|
committer | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2012-12-30 13:42:19 +0400 |
commit | b40e5998664ad6f03a59b70f1ddcdf651f4560ab (patch) | |
tree | 62d41a6161dbcfa75092f39686a22f34f4ebf03f /src/content_abm.cpp | |
parent | 45029117f5d7ccef36508cf66f6659665530dabc (diff) | |
download | minetest-b40e5998664ad6f03a59b70f1ddcdf651f4560ab.tar.gz minetest-b40e5998664ad6f03a59b70f1ddcdf651f4560ab.tar.bz2 minetest-b40e5998664ad6f03a59b70f1ddcdf651f4560ab.zip |
L-System treegen
Diffstat (limited to 'src/content_abm.cpp')
-rw-r--r-- | src/content_abm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_abm.cpp b/src/content_abm.cpp index 12dbeea8e..0d0f0dedb 100644 --- a/src/content_abm.cpp +++ b/src/content_abm.cpp @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "content_sao.h" #include "settings.h" #include "mapblock.h" // For getNodeBlockPos -#include "mapgen.h" // For mapgen::make_tree +#include "treegen.h" // For treegen::make_tree #include "map.h" #define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")" @@ -118,7 +118,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; - mapgen::make_tree(vmanip, tree_p, is_apple_tree, ndef); + treegen::make_tree(vmanip, tree_p, is_apple_tree, ndef); vmanip.blitBackAll(&modified_blocks); // update lighting |