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