From aa2f1b6b294b74d87d7e6d9e21ed276011a417ca Mon Sep 17 00:00:00 2001 From: Roman Masanin <36927roma@gmail.com> Date: Sun, 13 Sep 2020 21:45:42 +0300 Subject: vehicle audio(first part) and temp fix for openAL --- src/vehicles/Bike.cpp | 2 +- src/vehicles/Bike.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vehicles') diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp index 62aeface..b5bc9480 100644 --- a/src/vehicles/Bike.cpp +++ b/src/vehicles/Bike.cpp @@ -129,7 +129,7 @@ CBike::CBike(int32 id, uint8 CreatedBy) m_fTireTemperature = 1.0f; m_fBrakeDestabilization = 0.0f; - field_490 = 0; + m_fVelocityChangeForAudio = 0; for(i = 0; i < 2; i++){ m_aWheelRotation[i] = 0.0f; diff --git a/src/vehicles/Bike.h b/src/vehicles/Bike.h index 669e236e..cee670a3 100644 --- a/src/vehicles/Bike.h +++ b/src/vehicles/Bike.h @@ -77,7 +77,7 @@ public: int16 m_doingBurnout; float m_fTireTemperature; float m_fBrakeDestabilization; - uint32 field_490; + float m_fVelocityChangeForAudio; float m_fFireBlowUpTimer; CPhysical *m_aGroundPhysical[4]; CVector m_aGroundOffset[4]; -- cgit v1.2.3