aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-01-15 14:49:13 +0100
committerBlockMen <nmuelll@web.de>2014-01-16 15:46:55 +0100
commit64c0e40605746955ea2c2d713810e7d1873a59b8 (patch)
treefef0011cc198146a9935fac4d6ad7bf10a4a5c64 /src
parent1b4908bf56552ca2e01b48591ade8d441d119625 (diff)
downloadminetest-64c0e40605746955ea2c2d713810e7d1873a59b8.tar.gz
minetest-64c0e40605746955ea2c2d713810e7d1873a59b8.tar.bz2
minetest-64c0e40605746955ea2c2d713810e7d1873a59b8.zip
Prevent player jumping into nodes from below
Fixes camera glitch and cheating at drowning
Diffstat (limited to 'src')
-rw-r--r--src/player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index 3481260c0..8ad6ff241 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),