]> git.lizzy.rs Git - minetest.git/blobdiff - src/object_properties.h
Player eye height: Make this a settable player object property
[minetest.git] / src / object_properties.h
index fcf03383c0754dc49b560aa42142b67d9dc87e6e..8ccce589fc3634545526446cb0847e36764af747 100644 (file)
@@ -59,6 +59,7 @@ struct ObjectProperties
        //! For dropped items, this contains item information.
        std::string wield_item;
        bool static_save = true;
+       float eye_height = 1.625f;
 
        ObjectProperties();
        std::string dump();