diff options
author | paramat <paramat@users.noreply.github.com> | 2017-08-28 22:46:12 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-08-30 19:39:05 +0100 |
commit | 561a01cc2a8ca0b83b37975a048d34dcfd0d41e1 (patch) | |
tree | eed4bfe89f439e4c0573b76e0c670ff0267c1cdc /src/object_properties.h | |
parent | bd6b90359c654f4c75964755e476a8bfd90114ba (diff) | |
download | minetest-561a01cc2a8ca0b83b37975a048d34dcfd0d41e1.tar.gz minetest-561a01cc2a8ca0b83b37975a048d34dcfd0d41e1.tar.bz2 minetest-561a01cc2a8ca0b83b37975a048d34dcfd0d41e1.zip |
Zoom: Move enabling zoom to a new player object property
Default enabled for no change in default behaviour.
Remove 'zoom' privilege.
Diffstat (limited to 'src/object_properties.h')
-rw-r--r-- | src/object_properties.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object_properties.h b/src/object_properties.h index a18c8a1bb..bd519e9ee 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -44,8 +44,9 @@ struct ObjectProperties v2s16 initial_sprite_basepos; bool is_visible = true; bool makes_footstep_sound = false; - float automatic_rotate = 0.0f; f32 stepheight = 0.0f; + bool can_zoom = true; + float automatic_rotate = 0.0f; bool automatic_face_movement_dir = false; f32 automatic_face_movement_dir_offset = 0.0f; bool backface_culling = true; |