diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-04 03:32:49 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-04 03:32:49 +0200 |
commit | 07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c (patch) | |
tree | d49a72b048fb98b89ced48689d53caa0782ecebd /src/vehicles | |
parent | fixed CPed::AddInCarAnims (diff) | |
parent | Restore original logic of CPed::WanderRange (diff) | |
download | re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar.gz re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar.bz2 re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar.lz re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar.xz re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.tar.zst re3-07d336ddf01bd7f95cca22c85daa8c8cf1c87a5c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 8bf2a414..a9056037 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -3426,6 +3426,8 @@ CAutomobile::HydraulicControl(void) if(m_hydraulicState < 20 && m_fVelocityChangeForAudio > 0.2f){ if(m_hydraulicState == 0){ m_hydraulicState = 20; + for(i = 0; i < 4; i++) + m_aWheelPosition[i] -= 0.06f; DMAudio.PlayOneShot(m_audioEntityId, SOUND_CAR_HYDRAULIC_1, 0.0f); setPrevRatio = true; }else{ |