mirror of
https://github.com/halpz/re3.git
synced 2025-07-04 14:10:58 +00:00
Fixes for aap review (audio8)
This commit is contained in:
@ -255,7 +255,7 @@ CAnimViewer::Update(void)
|
||||
if (modelInfo->m_type == MITYPE_VEHICLE) {
|
||||
|
||||
CVehicleModelInfo* veh = (CVehicleModelInfo*)modelInfo;
|
||||
if (veh->m_vehicleType != VEHICLE_TYPE_AUTOMOBILE) {
|
||||
if (veh->m_vehicleType != VEHICLE_TYPE_CAR) {
|
||||
// Not ready yet
|
||||
/* if (veh->m_vehicleType == VEHICLE_TYPE_BOAT)
|
||||
{
|
||||
|
@ -738,7 +738,7 @@ CFileLoader::LoadVehicleObject(const char *line)
|
||||
if(strncmp(type, "car", 4) == 0){
|
||||
mi->m_wheelId = misc;
|
||||
mi->m_wheelScale = wheelScale;
|
||||
mi->m_vehicleType = VEHICLE_TYPE_AUTOMOBILE;
|
||||
mi->m_vehicleType = VEHICLE_TYPE_CAR;
|
||||
}else if(strncmp(type, "boat", 5) == 0){
|
||||
mi->m_vehicleType = VEHICLE_TYPE_BOAT;
|
||||
}else if(strncmp(type, "train", 6) == 0){
|
||||
|
@ -793,7 +793,7 @@ CWorld::TestSphereAgainstSectorList(CPtrList &list, CVector spherePos, float rad
|
||||
*eCol, &ms_testSpherePoint, nil, nil);
|
||||
|
||||
if (collidedSpheres != 0 ||
|
||||
(e->IsVehicle() && ((CVehicle*)e)->m_vehType == VEHICLE_TYPE_AUTOMOBILE &&
|
||||
(e->IsVehicle() && ((CVehicle*)e)->m_vehType == VEHICLE_TYPE_CAR &&
|
||||
e->m_modelIndex != MI_DODO && radius + eCol->boundingBox.max.x > distance)) {
|
||||
return e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user