mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-30 04:54:15 +01: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 New Issue
Block a user