diff options
author | aap <aap@papnet.eu> | 2020-06-03 09:24:02 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-03 09:24:02 +0200 |
commit | 04de93796bf6b19e10d46cbca3db3d296dd1612f (patch) | |
tree | 35432f876658dae1ad74d5f7778ca5574387dd46 | |
parent | Range2D and Range3D (diff) | |
download | re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar.gz re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar.bz2 re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar.lz re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar.xz re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.tar.zst re3-04de93796bf6b19e10d46cbca3db3d296dd1612f.zip |
-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 9aa5ae7c..9fe172fa 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -2648,6 +2648,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{ |