diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/itemdef.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |