diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp index 7f2f881b13a4..f777709bae44 100644 --- a/source/gameengine/Ketsji/KX_GameObject.cpp +++ b/source/gameengine/Ketsji/KX_GameObject.cpp @@ -785,7 +785,7 @@ void KX_GameObject::UpdateBuckets() void KX_GameObject::RemoveMeshes() { for (size_t i=0;iRemoveFromBuckets(this); + m_meshes[i]->RemoveFromBuckets(m_pClient_info); // Remove all mesh slots. if (m_meshUser) { delete m_meshUser;