summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-22 12:08:26 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:44:36 +0200
commit1fa0116f5f856b4dbe68bb289443e28ae4012543 (patch)
treefac52d580474b0317e4c7186b89b4696736a3e6d /src/vehicles/Vehicle.cpp
parentWait states ported (scripted animations) (diff)
downloadre3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.gz
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.bz2
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.lz
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.xz
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.zst
re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.zip
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 239fc641..6594e05f 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -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: