Prevent player jumping into nodes from below
authorBlockMen <nmuelll@web.de>
Wed, 15 Jan 2014 13:49:13 +0000 (14:49 +0100)
committerBlockMen <nmuelll@web.de>
Thu, 16 Jan 2014 14:46:55 +0000 (15:46 +0100)
Fixes camera glitch and cheating at drowning

src/player.cpp

index 3481260c032222753284bd97eefe11ef987444d2..8ad6ff241ffaa76a7d3c292490009ed7f4efdebc 100644 (file)
@@ -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),