Skip to content
Permalink
Browse files

Fix itemdef drop on NULL texture

  • Loading branch information
kwolekr committed Apr 29, 2013
1 parent d7395cd commit c824abd7b2e199d9c7e3dcc2839a28275f4120f2
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/itemdef.cpp
@@ -247,7 +247,8 @@ class CItemDefManager: public IWritableItemDefManager
i = values.begin(); i != values.end(); ++i)
{
ClientCached *cc = *i;
cc->wield_mesh->drop();
if (cc->wield_mesh)
cc->wield_mesh->drop();
delete cc;
}

0 comments on commit c824abd

Please sign in to comment.
You can’t perform that action at this time.