mirror of
https://github.com/minetest/minetest.git
synced 2025-07-03 08:20:23 +02: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:
@ -801,6 +801,7 @@ PlayerSAO::PlayerSAO(ServerEnvironment *env_, RemotePlayer *player_, u16 peer_id
|
||||
m_prop.is_visible = true;
|
||||
m_prop.makes_footstep_sound = true;
|
||||
m_prop.stepheight = PLAYER_DEFAULT_STEPHEIGHT * BS;
|
||||
m_prop.can_zoom = true;
|
||||
m_hp = m_prop.hp_max;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user