mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
ec9f157512
commit
8756b7a735
1 changed files with 3 additions and 0 deletions
|
@ -386,6 +386,9 @@ void WieldMeshSceneNode::setItem(const ItemStack &item, Client *client, bool che
|
||||||
m_colors.emplace_back();
|
m_colors.emplace_back();
|
||||||
// overlay is white, if present
|
// overlay is white, if present
|
||||||
m_colors.emplace_back(true, video::SColor(0xFFFFFFFF));
|
m_colors.emplace_back(true, video::SColor(0xFFFFFFFF));
|
||||||
|
// initialize the color
|
||||||
|
if (!m_lighting)
|
||||||
|
setColor(video::SColor(0xFFFFFFFF));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue