1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

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