summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-10 01:48:56 +0200
committerSergeanur <s.anureev@yandex.ua>2021-05-10 01:48:56 +0200
commit8f54093de1616d3a92ec39ad4e77e84d11d838cb (patch)
tree3ca9f2943e845953e38a1ea258766cb247cf8217 /src/audio
parentMerge remote-tracking branch 'origin/miami' into lcs (diff)
parentfix (diff)
downloadre3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar.gz
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar.bz2
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar.lz
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar.xz
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.tar.zst
re3-8f54093de1616d3a92ec39ad4e77e84d11d838cb.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioLogic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index f3d41b81..0bdb5a8f 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -3494,7 +3494,7 @@ cAudioManager::ProcessCarHeli(cVehicleParams& params)
brakeState = veh->m_fBrakePedal * 255.0f;
}
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) {
boat = (CBoat*)veh;
propellerSpeed = boat->m_fMovingSpeed * 50.0f / 11.0f;