mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Resolve some quirks with (wield) item meshes for nodes (#15654)
This commit is contained in:
parent
464cc92521
commit
636a734d78
8 changed files with 78 additions and 178 deletions
|
@ -459,7 +459,9 @@ public:
|
|||
{
|
||||
if(!m_area.contains(p))
|
||||
return false;
|
||||
m_data[m_area.index(p)] = n;
|
||||
const s32 index = m_area.index(p);
|
||||
m_data[index] = n;
|
||||
m_flags[index] &= ~VOXELFLAG_NO_DATA;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue