summaryrefslogtreecommitdiff
path: root/src/player.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2013-04-17 00:15:53 +0200
committerPilzAdam <pilzadam@minetest.net>2013-04-25 18:53:50 +0200
commit88ffb3f73bb16c6680ee10a8e804a699e366edd8 (patch)
tree991091a87b4e588c847f14fea7d181560667caa5 /src/player.cpp
parent386108f982e3d0819f6a153d750f967c0b25268c (diff)
downloadminetest-88ffb3f73bb16c6680ee10a8e804a699e366edd8.tar.gz
minetest-88ffb3f73bb16c6680ee10a8e804a699e366edd8.tar.bz2
minetest-88ffb3f73bb16c6680ee10a8e804a699e366edd8.zip
Move player collisionbox to player class
Diffstat (limited to 'src/player.cpp')
-rw-r--r--src/player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.cpp b/src/player.cpp
index e86b64206..d3e16810f 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -42,7 +42,8 @@ Player::Player(IGameDef *gamedef):
m_pitch(0),
m_yaw(0),
m_speed(0,0,0),
- m_position(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)
{
updateName("<not set>");
inventory.clear();