mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoLOD::Read and related (#634)
* WIP * Fix * Remove bogus * Fix * Match * Fix * Remove TODO
This commit is contained in:

committed by
GitHub

parent
a12146f52f
commit
53e2353f78
@@ -94,11 +94,11 @@ Result GroupImpl::Add(const Mesh* pMesh)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a3450
|
||||
Result GroupImpl::Remove(const Mesh* pMesh)
|
||||
Result GroupImpl::Remove(const Unk* pUnk)
|
||||
{
|
||||
const MeshImpl* pMeshImpl = static_cast<const MeshImpl*>(pMesh);
|
||||
const UnkImpl* pUnkImpl = static_cast<const UnkImpl*>(pUnk);
|
||||
// TODO: Incorrect structure
|
||||
return ResultVal(m_data->DeleteVisual((IDirect3DRMMesh*) pMeshImpl->ImplementationData()));
|
||||
return ResultVal(m_data->DeleteVisual((IDirect3DRMMesh*) pUnkImpl->ImplementationData()));
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100a3480
|
||||
|
Reference in New Issue
Block a user