Stop crashing on bad meshes like it's the end of the world

Pushing this on behalf of savis
This commit is contained in:
rtw1x1
2025-12-31 09:05:58 +00:00
parent e7a113885a
commit b201fd6dd6
3 changed files with 27 additions and 3 deletions

View File

@@ -177,6 +177,9 @@ void CGrannyModelInstance::UpdateWorldMatrices(const D3DXMATRIX* c_pWorldMatrix)
const CGrannyMesh * pMesh = m_pModel->GetMeshPointer(i);
if (!pMesh)
continue;
// WORK
int * boneIndices = __GetMeshBoneIndices(i);
// END_OF_WORK