diff --git a/src/treegen.cpp b/src/treegen.cpp index 3354f97a2..54cee0fef 100644 --- a/src/treegen.cpp +++ b/src/treegen.cpp @@ -17,8 +17,10 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include +#include "irr_v3d.h" #include +#include "util/numeric.h" +#include "util/mathconstants.h" #include "noise.h" #include "map.h" #include "environment.h" @@ -281,7 +283,7 @@ void make_ltree(ManualMapVoxelManipulator &vmanip, v3s16 p0, INodeDefManager *nd for(x=-size; x