mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 09:00:01 +00:00
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 a new issue