Use bool8 in audio code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user