summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-21 18:55:11 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-21 18:55:11 +0300
commite500b77cd39d15e817fb903813bd1938cdb22034 (patch)
tree9da766dd467d525e8655f79882a47b0cfb546b89
parent3779a39f1fb745dd6d7ef744fe8312d9e2f1bb48 (diff)
Audio: more LCS changes
-rw-r--r--src/audio/AudioManager.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 785c23e6..178bbf83 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -526,11 +526,14 @@ cAudioManager::ServiceSoundEffects()
ProcessSpecial();
ClearRequestedQueue();
InterrogateAudioEntities();
- m_sPedComments.Process();
- //ServicePoliceRadio(); // LCS: removed
- ServiceCollisions();
+ if (!m_nUserPause) {
+ m_sPedComments.Process();
+ //ServicePoliceRadio(); // LCS: removed
+ ServiceCollisions();
+ }
AddReleasingSounds();
- ProcessMissionAudio();
+ if (!m_nUserPause)
+ ProcessMissionAudio();
#ifdef EXTERNAL_3D_SOUND
AdjustSamplesVolume();
#endif