Move player collisionbox to player class

This commit is contained in:
sapier
2013-04-17 00:15:53 +02:00
committed by PilzAdam
parent 386108f982
commit 88ffb3f73b
4 changed files with 15 additions and 19 deletions

View File

@@ -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();