diff options
author | Alex <24834740+GreenXenith@users.noreply.github.com> | 2018-12-10 18:57:04 -0800 |
---|---|---|
committer | Paramat <paramat@users.noreply.github.com> | 2018-12-11 02:57:04 +0000 |
commit | a833bee9edaeb6df69d1e510759a7b33915a41e0 (patch) | |
tree | e316ad0094a27816d89af10fce16ccf125cc90a1 /src/client/wieldmesh.h | |
parent | 98fa8a154d8136ad19d723fd89164c9d833da52b (diff) | |
download | minetest-a833bee9edaeb6df69d1e510759a7b33915a41e0.tar.gz minetest-a833bee9edaeb6df69d1e510759a7b33915a41e0.tar.bz2 minetest-a833bee9edaeb6df69d1e510759a7b33915a41e0.zip |
Add object visual type 'item' (#7870)
Diffstat (limited to 'src/client/wieldmesh.h')
-rw-r--r-- | src/client/wieldmesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/wieldmesh.h b/src/client/wieldmesh.h index 0908d3ac2..7c80a811b 100644 --- a/src/client/wieldmesh.h +++ b/src/client/wieldmesh.h @@ -80,7 +80,8 @@ public: void setCube(const ContentFeatures &f, v3f wield_scale); void setExtruded(const std::string &imagename, const std::string &overlay_image, v3f wield_scale, ITextureSource *tsrc, u8 num_frames); - void setItem(const ItemStack &item, Client *client); + void setItem(const ItemStack &item, Client *client, + bool check_wield_image = true); // Sets the vertex color of the wield mesh. // Must only be used if the constructor was called with lighting = false |