Fix itemdef drop on NULL texture
parent
d7395cd2ab
commit
c824abd7b2
|
@ -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…
Reference in New Issue