mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 02:46:22 +00:00
dont hardcode first vehicle ID; little fix for roadblocks
This commit is contained in:
@ -7989,7 +7989,7 @@ cAudioManager::ProcessVehicle(CVehicle *veh)
|
||||
if (handling)
|
||||
params.m_pTransmission = &handling->Transmission;
|
||||
|
||||
params.m_nIndex = veh->GetModelIndex() - 90;
|
||||
params.m_nIndex = veh->GetModelIndex() - MI_FIRST_VEHICLE;
|
||||
if (params.m_pVehicle->GetStatus() == STATUS_SIMPLE)
|
||||
velChange = params.m_pVehicle->AutoPilot.m_fMaxTrafficSpeed * 0.02f;
|
||||
else
|
||||
|
Reference in New Issue
Block a user