diff --git a/src/itemdef.cpp b/src/itemdef.cpp index 784919ae2..05328ea48 100644 --- a/src/itemdef.cpp +++ b/src/itemdef.cpp @@ -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; }