1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix itemdef drop on NULL texture

This commit is contained in:
kwolekr 2013-04-28 21:07:09 -04:00
parent d7395cd2ab
commit c824abd7b2

View file

@ -247,7 +247,8 @@ public:
i = values.begin(); i != values.end(); ++i)
{
ClientCached *cc = *i;
cc->wield_mesh->drop();
if (cc->wield_mesh)
cc->wield_mesh->drop();
delete cc;
}