mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Zoom: Move enabling zoom to a new player object property
Default enabled for no change in default behaviour. Remove 'zoom' privilege.
This commit is contained in:
parent
bd6b90359c
commit
561a01cc2a
8 changed files with 20 additions and 11 deletions
|
@ -1239,6 +1239,7 @@ void GenericCAO::processMessage(const std::string &data)
|
|||
collision_box.MinEdge *= BS;
|
||||
collision_box.MaxEdge *= BS;
|
||||
player->setCollisionbox(collision_box);
|
||||
player->setCanZoom(m_prop.can_zoom);
|
||||
}
|
||||
|
||||
if ((m_is_player && !m_is_local_player) && m_prop.nametag.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue