From: BlockMen Date: Wed, 15 Jan 2014 13:49:13 +0000 (+0100) Subject: Prevent player jumping into nodes from below X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=64c0e40605746955ea2c2d713810e7d1873a59b8;p=zefram%2Fminetest%2Fminetest_engine.git Prevent player jumping into nodes from below Fixes camera glitch and cheating at drowning --- diff --git a/src/player.cpp b/src/player.cpp index 3481260c..8ad6ff24 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -47,7 +47,7 @@ Player::Player(IGameDef *gamedef): m_yaw(0), m_speed(0,0,0), m_position(0,0,0), - m_collisionbox(-BS*0.30,0.0,-BS*0.30,BS*0.30,BS*1.55,BS*0.30), + m_collisionbox(-BS*0.30,0.0,-BS*0.30,BS*0.30,BS*1.75,BS*0.30), m_last_pitch(0), m_last_yaw(0), m_last_pos(0,0,0),