summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 08:29:23 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 08:29:23 +0100
commit74276ae8787178d239410062d2db4d62c7f8aaf3 (patch)
tree45d31a38b936b45dcf125320bb364906c07d0cb2
parentSmall audio code fix (diff)
downloadre3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar.gz
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar.bz2
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar.lz
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar.xz
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.tar.zst
re3-74276ae8787178d239410062d2db4d62c7f8aaf3.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioLogic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp
index 8180a97a..3958241c 100644
--- a/src/audio/AudioLogic.cpp
+++ b/src/audio/AudioLogic.cpp
@@ -151,11 +151,11 @@ cAudioManager::PostInitialiseGameSpecificSetup()
#endif // GTA_BRIDGE
m_nEscalatorEntity = CreateEntity(AUDIOTYPE_ESCALATOR, (void*)1);
if (m_nEscalatorEntity >= 0)
- SetEntityStatus(m_nEscalatorEntity, 1);
+ SetEntityStatus(m_nEscalatorEntity, true);
m_nExtraSoundsEntity = CreateEntity(AUDIOTYPE_EXTRA_SOUNDS, (void*)1);
if (m_nExtraSoundsEntity >= 0)
- SetEntityStatus(m_nExtraSoundsEntity, 1);
+ SetEntityStatus(m_nExtraSoundsEntity, true);
m_sMissionAudio.m_nSampleIndex[0] = NO_SAMPLE;