mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Draw node animation for items (#15930)
This commit is contained in:
@@ -809,7 +809,8 @@ void GenericCAO::setNodeLight(const video::SColor &light_color)
|
||||
{
|
||||
if (m_prop.visual == OBJECTVISUAL_WIELDITEM || m_prop.visual == OBJECTVISUAL_ITEM) {
|
||||
if (m_wield_meshnode)
|
||||
m_wield_meshnode->setNodeLightColor(light_color);
|
||||
m_wield_meshnode->setLightColorAndAnimation(light_color,
|
||||
m_client->getAnimationTime());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user