summaryrefslogtreecommitdiff
path: root/src/wieldmesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wieldmesh.cpp')
-rw-r--r--src/wieldmesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wieldmesh.cpp b/src/wieldmesh.cpp
index 2b23d9e02..8b1477bb7 100644
--- a/src/wieldmesh.cpp
+++ b/src/wieldmesh.cpp
@@ -438,7 +438,7 @@ void getItemMesh(Client *client, const ItemStack &item, ItemMesh *result)
g_extrusion_mesh_cache->grab();
}
- scene::SMesh *mesh;
+ scene::SMesh *mesh = NULL;
// If inventory_image is defined, it overrides everything else
if (def.inventory_image != "") {