summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-03 09:24:02 +0200
committeraap <aap@papnet.eu>2020-06-03 09:24:02 +0200
commit04de93796bf6b19e10d46cbca3db3d296dd1612f (patch)
tree35432f876658dae1ad74d5f7778ca5574387dd46 /src/vehicles
parentRange2D and Range3D (diff)
downloadre3-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
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp2
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{