summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2020-08-27 11:40:06 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-27 18:32:48 +0200
commit3d7acb6d10a8587b148a9a70a065e21824c0396b (patch)
treedda1a8d5cff1cbceb53eb0855f6f4a15a335d5eb /src/World.h
parentChanged tree-growing functions in cWorld to use Vector3i coords. (diff)
downloadcuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar.gz
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar.bz2
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar.lz
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar.xz
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.tar.zst
cuberite-3d7acb6d10a8587b148a9a70a065e21824c0396b.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h
index 010959762..263ad6d49 100644
--- a/src/World.h
+++ b/src/World.h
@@ -834,7 +834,7 @@ public:
Otherwise a tree is grown based on the biome.
Returns true if the tree was grown, false if not (invalid chunk, insufficient space).
Exported in DeprecatedBindings due to the obsolete int-based overload. */
- bool GrowTree(const Vector3i a_BlockPos);
+ bool GrowTree(Vector3i a_BlockPos);
/** Grows a tree from the sapling at the specified coords.
If the sapling is a part of a large-tree sapling (2x2), a large tree growth is attempted.
@@ -845,7 +845,7 @@ public:
/** Grows a tree at the specified coords, based on the biome in the place.
Returns true if the tree was grown, false if not (invalid chunk, insufficient space).
Exported in DeprecatedBindings due to the obsolete int-based overload. */
- bool GrowTreeByBiome(const Vector3i a_BlockPos);
+ bool GrowTreeByBiome(Vector3i a_BlockPos);
// tolua_begin