Use bool8 in audio code

This commit is contained in:
Sergeanur committed 2021-06-24 21:44:36 +03:00
1 parent c7821635fd
commit 1fa0116f5f
25 files changed
+1348 -1350

No files matched your search

+1 -1
View File
@@ -152,7 +152,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: