diff options
author | aap <aap@papnet.eu> | 2020-08-20 13:21:08 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-20 13:21:08 +0200 |
commit | a9a1bf5056c6853a51b9c14ba74a8c4e82227849 (patch) | |
tree | 4c34b84ba73c4c965b8563f045843b919e7f8e97 /src/vehicles/Automobile.cpp | |
parent | small fixes (diff) | |
download | re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar.gz re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar.bz2 re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar.lz re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar.xz re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.tar.zst re3-a9a1bf5056c6853a51b9c14ba74a8c4e82227849.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Automobile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index d2fedbd5..66452477 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -3413,7 +3413,7 @@ CAutomobile::VehicleDamage(float impulse, uint16 damagedPiece) m_fHealth -= bTakeLessDamage ? damage/6.0f : damage/2.0f; }else{ if(damage > 35.0f && pDriver) - pDriver->Say(SOUND_PED_CAR_COLLISION); + pDriver->Say(SOUND_PED_ANNOYED_DRIVER); m_fHealth -= bTakeLessDamage ? damage/12.0f : damage/4.0f; } if(m_fHealth <= 0.0f && oldHealth > 0) @@ -4047,11 +4047,11 @@ CAutomobile::PlayCarHorn(void) m_nCarHornTimer = 45; }else if(r < 4){ if(pDriver) - pDriver->Say(SOUND_PED_CAR_COLLISION); + pDriver->Say(SOUND_PED_ANNOYED_DRIVER); m_nCarHornTimer = 45; }else{ if(pDriver) - pDriver->Say(SOUND_PED_CAR_COLLISION); + pDriver->Say(SOUND_PED_ANNOYED_DRIVER); } } |