diff options
author | erorcun <erayorcunus@gmail.com> | 2020-09-29 00:48:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 00:48:11 +0200 |
commit | e2314c7852c47d93ae1ba36398cecff12d73568a (patch) | |
tree | 00ec667839570abc5be30eba825e56e89bc6f31f /src/vehicles/Automobile.cpp | |
parent | Merge pull request #721 from theR4K/miamiUpstream (diff) | |
parent | TEMPORALY remove flying cars (diff) | |
download | re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar.gz re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar.bz2 re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar.lz re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar.xz re3-e2314c7852c47d93ae1ba36398cecff12d73568a.tar.zst re3-e2314c7852c47d93ae1ba36398cecff12d73568a.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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 7863b4a1..171ee9ba 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -1489,7 +1489,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); |