mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 05:35:40 +00:00
fix
This commit is contained in:
parent
3dda658e42
commit
4da733145e
1 changed files with 1 additions and 1 deletions
|
@ -3494,7 +3494,7 @@ cAudioManager::ProcessCarHeli(cVehicleParams& params)
|
||||||
brakeState = veh->m_fBrakePedal * 255.0f;
|
brakeState = veh->m_fBrakePedal * 255.0f;
|
||||||
}
|
}
|
||||||
freqModifier = Abs(veh->GetUp().y);
|
freqModifier = Abs(veh->GetUp().y);
|
||||||
cameraAngle = (DotProduct(veh->m_matrix.GetForward(), TheCamera.GetForward()) + 1.0f) / 2.0f;
|
cameraAngle = (DotProduct(veh->GetMatrix().GetForward(), TheCamera.GetForward()) + 1.0f) / 2.0f;
|
||||||
if (veh->m_modelIndex == MI_SKIMMER) {
|
if (veh->m_modelIndex == MI_SKIMMER) {
|
||||||
boat = (CBoat*)veh;
|
boat = (CBoat*)veh;
|
||||||
propellerSpeed = boat->m_fMovingSpeed * 50.0f / 11.0f;
|
propellerSpeed = boat->m_fMovingSpeed * 50.0f / 11.0f;
|
||||||
|
|
Loading…
Reference in a new issue