diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:46:19 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-17 14:46:19 +0200 |
commit | 13233ccaed3fd7aad37c99326beee3ddfaf437f3 (patch) | |
tree | 82f5205ffe573d41060ec29646e821841f651837 /src/vehicles | |
parent | more CCarCtrl (diff) | |
parent | Merge pull request #193 from erorcun/erorcun (diff) | |
download | re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.gz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.bz2 re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.lz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.xz re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.tar.zst re3-13233ccaed3fd7aad37c99326beee3ddfaf437f3.zip |
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 5d63b4df..775689f7 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -92,7 +92,7 @@ CVehicle::CVehicle(uint8 CreatedBy) m_nLastWeaponDamage = -1; field_220 = 0.0; field_21C = field_220; - m_audioEntityId = DMAudio.CreateEntity(0, this); + m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, this); if(m_audioEntityId) DMAudio.SetEntityStatus(m_audioEntityId, true); m_nRadioStation = CGeneral::GetRandomNumber() % USERTRACK; |