mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Player eye height: Make this a settable player object property
This commit is contained in:
parent
a07d2594e3
commit
4c40e0775c
7 changed files with 15 additions and 4 deletions
|
@ -1260,6 +1260,7 @@ void GenericCAO::processMessage(const std::string &data)
|
|||
collision_box.MaxEdge *= BS;
|
||||
player->setCollisionbox(collision_box);
|
||||
player->setCanZoom(m_prop.can_zoom);
|
||||
player->setEyeHeight(m_prop.eye_height);
|
||||
}
|
||||
|
||||
if ((m_is_player && !m_is_local_player) && m_prop.nametag.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue