some work on vehicles

This commit is contained in:
aap 2019-07-06 19:44:00 +02:00
parent 2b592605ab
commit 00461224a9
9 changed files with 243 additions and 227 deletions

View file

@ -1858,10 +1858,10 @@ CPhysical::ProcessCollision(void)
CVehicle *veh = (CVehicle*)this;
if(veh->m_vehType == VEHICLE_TYPE_CAR){
CAutomobile *car = (CAutomobile*)this;
car->m_afWheelSuspDist[0] = 1.0f;
car->m_afWheelSuspDist[1] = 1.0f;
car->m_afWheelSuspDist[2] = 1.0f;
car->m_afWheelSuspDist[3] = 1.0f;
car->m_aWheelDist[0] = 1.0f;
car->m_aWheelDist[1] = 1.0f;
car->m_aWheelDist[2] = 1.0f;
car->m_aWheelDist[3] = 1.0f;
}else if(veh->m_vehType == VEHICLE_TYPE_BIKE){
assert(0 && "TODO - but unused");
}