diff options
author | Danila Shutov <dcbrwn2@gmail.com> | 2020-04-19 19:47:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 18:47:13 +0200 |
commit | cdbe3c5e5784b34e548c58b08579ff55b3096fb9 (patch) | |
tree | b751e0f348e1fd1461ac05f6ec1e04d0bed1033c /src/client/wieldmesh.h | |
parent | c87d52a5fa21f31c2d68795822b48c8bf993ca6b (diff) | |
download | minetest-cdbe3c5e5784b34e548c58b08579ff55b3096fb9.tar.gz minetest-cdbe3c5e5784b34e548c58b08579ff55b3096fb9.tar.bz2 minetest-cdbe3c5e5784b34e548c58b08579ff55b3096fb9.zip |
Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)
Diffstat (limited to 'src/client/wieldmesh.h')
-rw-r--r-- | src/client/wieldmesh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/wieldmesh.h b/src/client/wieldmesh.h index 7c80a811b..933097230 100644 --- a/src/client/wieldmesh.h +++ b/src/client/wieldmesh.h @@ -87,6 +87,8 @@ public: // Must only be used if the constructor was called with lighting = false void setColor(video::SColor color); + void setNodeLightColor(video::SColor color); + scene::IMesh *getMesh() { return m_meshnode->getMesh(); } virtual void render(); |