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:
parent
386108f982
commit
88ffb3f73b
4 changed files with 15 additions and 19 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue