1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 18:10:00 +00:00

Compilation fix

This commit is contained in:
Sergeanur 2020-08-24 22:14:05 +03:00
parent bbcf3fd7d2
commit 85cf043e4a

View file

@ -578,11 +578,12 @@ CCutsceneMgr::AttachObjectToFrame(CObject *pObject, CEntity *pAttachTo, const ch
CModelInfo::GetModelInfo(pObject->GetModelIndex())->GetName(), CModelInfo::GetModelInfo(pObject->GetModelIndex())->GetName(),
frame, frame,
CModelInfo::GetModelInfo(pAttachTo->GetModelIndex())->GetName()); CModelInfo::GetModelInfo(pAttachTo->GetModelIndex())->GetName());
RpClump* clump = pObject->GetClump(); if (RwObjectGetType(pObject->m_rwObject) == rpCLUMP) {
if (RwObjectGetType(clump) == rpCLUMP) RpClump *clump = (RpClump*)pObject->m_rwObject;
if (IsClumpSkinned(clump)) if (IsClumpSkinned(clump))
RpAtomicGetBoundingSphere(GetFirstAtomic(clump))->radius *= 1.1f; RpAtomicGetBoundingSphere(GetFirstAtomic(clump))->radius *= 1.1f;
} }
}
void void
CCutsceneMgr::AttachObjectToBone(CObject *pObject, CObject *pAttachTo, int bone) CCutsceneMgr::AttachObjectToBone(CObject *pObject, CObject *pAttachTo, int bone)