Fixed wrong CAutomobile field type

This commit is contained in:
Sergeanur 2019-10-12 17:06:15 +03:00
parent 35add59b34
commit be2e01c6fb
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;