mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Fix itemdef drop on NULL texture
This commit is contained in:
parent
d7395cd2ab
commit
c824abd7b2
1 changed files with 2 additions and 1 deletions
|
@ -247,6 +247,7 @@ public:
|
|||
i = values.begin(); i != values.end(); ++i)
|
||||
{
|
||||
ClientCached *cc = *i;
|
||||
if (cc->wield_mesh)
|
||||
cc->wield_mesh->drop();
|
||||
delete cc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue