fix accident~
This commit is contained in:
parent
2df44208dd
commit
04de93796b
@ -2648,6 +2648,8 @@ CAutomobile::HydraulicControl(void)
|
|||||||
if(m_hydraulicState < 20 && m_fVelocityChangeForAudio > 0.2f){
|
if(m_hydraulicState < 20 && m_fVelocityChangeForAudio > 0.2f){
|
||||||
if(m_hydraulicState == 0){
|
if(m_hydraulicState == 0){
|
||||||
m_hydraulicState = 20;
|
m_hydraulicState = 20;
|
||||||
|
for(i = 0; i < 4; i++)
|
||||||
|
m_aWheelPosition[i] -= 0.06f;
|
||||||
DMAudio.PlayOneShot(m_audioEntityId, SOUND_CAR_HYDRAULIC_1, 0.0f);
|
DMAudio.PlayOneShot(m_audioEntityId, SOUND_CAR_HYDRAULIC_1, 0.0f);
|
||||||
setPrevRatio = true;
|
setPrevRatio = true;
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user