diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-22 13:08:26 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 21:34:32 +0300 |
commit | 5bcdb933a78abb2b9b8d6648d17502240bd9fd29 (patch) | |
tree | df31ee5fefd2ee7716b9ba01cc0062361520a655 /src/vehicles | |
parent | bd94c16e78739d2d58cec63186f1f0e4ee722169 (diff) |
Use bool8 in audio code
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 9d90c616..c95d0659 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -151,7 +151,7 @@ CVehicle::CVehicle(uint8 CreatedBy) m_fMapObjectHeightAhead = m_fMapObjectHeightBehind = 0.0f; m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this); if(m_audioEntityId >= 0) - DMAudio.SetEntityStatus(m_audioEntityId, true); + DMAudio.SetEntityStatus(m_audioEntityId, TRUE); //m_nRadioStation = CGeneral::GetRandomNumber() % NUM_RADIOS; switch(GetModelIndex()){ case MI_HUNTER: |