diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-12 16:06:15 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-12 16:06:15 +0200 |
commit | be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce (patch) | |
tree | 759e4e21a43a271b316ec6baac0415debf2ef3bd /src/vehicles | |
parent | Removed !this check in CVehicle::IsWrecked, added CPed::IsNotInWreckedVehicle instead (diff) | |
download | re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar.gz re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar.bz2 re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar.lz re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar.xz re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.tar.zst re3-be2e01c6fb0f734ad569f3ad272a3d3dfb31d3ce.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 2 | ||||
-rw-r--r-- | src/vehicles/Automobile.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 2329a9d9..12c9c940 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -128,7 +128,7 @@ CAutomobile::CAutomobile(int32 id, uint8 CreatedBy) m_fGasPedal = 0.0f; m_fBrakePedal = 0.0f; m_pSetOnFireEntity = nil; - m_fGasPedalAudio = 0; + m_fGasPedalAudio = 0.0f; bNotDamagedUpsideDown = false; bMoreResistantToDamage = false; m_fVelocityChangeForAudio = 0.0f; diff --git a/src/vehicles/Automobile.h b/src/vehicles/Automobile.h index 6203957d..534f28a4 100644 --- a/src/vehicles/Automobile.h +++ b/src/vehicles/Automobile.h @@ -117,7 +117,7 @@ public: uint8 m_nWheelsOnGround; uint8 m_nDriveWheelsOnGround; uint8 m_nDriveWheelsOnGroundPrev; - int32 m_fGasPedalAudio; + float m_fGasPedalAudio; tWheelState m_aWheelState[4]; static bool &m_sAllTaxiLights; |