summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-12 18:59:28 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:34:33 +0200
commit1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf (patch)
treed4d2ac80a0f2d8eee7cf1b008f14d269d26b688d /src/audio/AudioManager.cpp
parentFix cAudioManager::ProcessCarHeli (diff)
downloadre3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.gz
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.bz2
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.lz
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.xz
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.tar.zst
re3-1b5dbc4b411d58c04d867a4f330f06ca3e4ef1cf.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r--src/audio/AudioManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index e56d28e1..e2596964 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -1039,8 +1039,10 @@ cAudioManager::ClearActiveSamples()
m_asActiveSamples[i].m_bIsProcessed = FALSE;
m_asActiveSamples[i].m_bLoopEnded = FALSE;
m_asActiveSamples[i].m_nLoopCount = 1;
+#ifndef GTA_PS2
m_asActiveSamples[i].m_nLoopStart = 0;
m_asActiveSamples[i].m_nLoopEnd = -1;
+#endif
m_asActiveSamples[i].m_fSpeedMultiplier = 0.0f;
m_asActiveSamples[i].m_fSoundIntensity = 200.0f;
m_asActiveSamples[i].m_nOffset = 63;