aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorTheTermos <55103816+TheTermos@users.noreply.github.com>2020-04-08 22:45:05 +0200
committerGitHub <noreply@github.com>2020-04-08 22:45:05 +0200
commit3ad5388c6d3894e2f4aa7158cc2b62b626f0f967 (patch)
tree3da9feabdfaeb8ed312f53ab9efe295facac6834 /src/client
parentc1742b0901a0271b0d86b02b1f52c3428c0af291 (diff)
downloadminetest-3ad5388c6d3894e2f4aa7158cc2b62b626f0f967.tar.gz
minetest-3ad5388c6d3894e2f4aa7158cc2b62b626f0f967.tar.bz2
minetest-3ad5388c6d3894e2f4aa7158cc2b62b626f0f967.zip
Collision various fixes (#9343)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/localplayer.h b/src/client/localplayer.h
index 95dceb1f4..d88ae17ac 100644
--- a/src/client/localplayer.h
+++ b/src/client/localplayer.h
@@ -141,6 +141,8 @@ public:
void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
+ const aabb3f& getCollisionbox() const { return m_collisionbox; }
+
float getZoomFOV() const { return m_zoom_fov; }
void setZoomFOV(float zoom_fov) { m_zoom_fov = zoom_fov; }