summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2017-05-09 01:59:02 +0100
committerparamat <mat.gregory@virginmedia.com>2017-05-09 03:52:28 +0100
commitda88a186766020762f5c86bc6ba1624e4feaae2c (patch)
treef8abbc09c17f951da1e768a963e9b0a68d7d8611 /src/localplayer.h
parentc07c642ab091b7250ecdc5defee1fec26ba73dc4 (diff)
downloadminetest-da88a186766020762f5c86bc6ba1624e4feaae2c.tar.gz
minetest-da88a186766020762f5c86bc6ba1624e4feaae2c.tar.bz2
minetest-da88a186766020762f5c86bc6ba1624e4feaae2c.zip
Revert custom player collision box and step height commits
These caused inability to pass through 2 node high spaces or step up onto slabs or steps when a new client connected to an older server.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index efea8bb86..9cbefae23 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -137,8 +137,6 @@ public:
v3f getEyePosition() const { return m_position + getEyeOffset(); }
v3f getEyeOffset() const;
- void setCollisionbox(aabb3f box) { m_collisionbox = box; }
-
private:
void accelerateHorizontal(const v3f &target_speed, const f32 max_increase);
void accelerateVertical(const v3f &target_speed, const f32 max_increase);