summaryrefslogtreecommitdiff
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-22 12:11:50 +0300
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:32:43 +0300
commit786e101acff29e07503a4d3c294b613d4a2714b3 (patch)
treea5cf2a6b05190591891cb4cbf913d1fd667c58c1 /src/vehicles/Vehicle.cpp
parent596e12b8976f2138eb0d010a8c0e37ca0d614e1f (diff)
Use bool8 in audio code
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r--src/vehicles/Vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 6696f4a6..8885485d 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -108,7 +108,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() % USERTRACK;
m_pCurGroundEntity = nil;
m_bRainAudioCounter = 0;