mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 09:49:02 +00:00
fix accident~
This commit is contained in:
parent
2df44208dd
commit
04de93796b
1 changed files with 2 additions and 0 deletions
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue