mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-06 04:35:56 +00:00
fix some breakage
This commit is contained in:
parent
4f591aa87a
commit
fef87b9219
|
@ -7,6 +7,8 @@
|
|||
|
||||
CColModel::CColModel(void)
|
||||
{
|
||||
boundingSphere.Set(0.0001f, CVector(0.0f, 0.0f, 0.0f));
|
||||
boundingBox.Set(CVector(0.0f, 0.0f, 0.0f), CVector(0.0f, 0.0f, 0.0f));
|
||||
numSpheres = 0;
|
||||
spheres = nil;
|
||||
numLines = 0;
|
||||
|
@ -18,7 +20,7 @@ CColModel::CColModel(void)
|
|||
triangles = nil;
|
||||
trianglePlanes = nil;
|
||||
level = LEVEL_GENERIC; // generic col slot
|
||||
ownsCollisionVolumes = true;
|
||||
// ownsCollisionVolumes = true;
|
||||
}
|
||||
|
||||
CColModel::~CColModel(void)
|
||||
|
|
|
@ -275,6 +275,10 @@ RemoveWheelCB(RwObject *object, void *arg)
|
|||
void
|
||||
CVehicleModelInfo::RemoveWheels(void)
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
if(m_clump == nil)
|
||||
return;
|
||||
#endif
|
||||
RwObjectNameIdAssocation *desc = ms_vehicleDescs[m_vehicleType];
|
||||
for(int i = 0; desc[i].name; i++){
|
||||
RwObjectIdAssociation assoc;
|
||||
|
|
Loading…
Reference in a new issue