diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-26 04:10:00 +0300 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-26 04:10:00 +0300 |
commit | a75ddd0d0ca4465f9b10305045b18dbecc76e504 (patch) | |
tree | 8e821a43c8b8a5c396a8ca66ac8909636d681bdc /src/vehicles | |
parent | 6e3523d59452a970d8d1ef88bcc1b998857fcd38 (diff) |
processVehicleOneShots for heli, and heli blade fix
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index eec44c35..0154ae05 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -1486,7 +1486,7 @@ CAutomobile::ProcessControl(void) CMatrix mat; mat.Attach(RwFrameGetMatrix(m_aCarNodes[CAR_BONNET])); CVector blade = mat.GetRight(); - blade = GetMatrix() * blade; + blade = Multiply3x3(blade, GetMatrix()); camDist /= Max(Sqrt(distSq), 0.01f); if(Abs(DotProduct(camDist, blade)) > 0.95f){ DMAudio.PlayOneShot(m_audioEntityId, SOUND_31, 0.0f); |