summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-12 18:19:31 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:44 +0200
commit939d0c59a3994a564b2257b8d9e5ec107b1b7933 (patch)
treec765f6d491ead937dd7741133cf390aba380ced9 /src/audio/AudioManager.cpp
parentFix typo (diff)
downloadre3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar.gz
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar.bz2
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar.lz
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar.xz
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.tar.zst
re3-939d0c59a3994a564b2257b8d9e5ec107b1b7933.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 1f758dd2..5312bfad 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -940,8 +940,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;