summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-08-15 03:43:00 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-08-15 03:43:00 +0200
commit6093d855b067841ea4c51b14ece7544f57d76f2b (patch)
tree01c0f232a678e6afb9ef9b46ad97e47769d0c9bb /src/vehicles
parentsampman cosmetic fix (diff)
downloadre3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.gz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.bz2
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.lz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.xz
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.tar.zst
re3-6093d855b067841ea4c51b14ece7544f57d76f2b.zip
Diffstat (limited to 'src/vehicles')
-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 aaf5926f..6f7dd7d5 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -88,7 +88,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;