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 /src | |
parent | 2df44208dd21bd8b86bea0214afe61c0c0bf432d (diff) |
fix accident~
Diffstat (limited to 'src')
-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{ |