diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 15:02:59 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 15:02:59 +0200 |
commit | 428b407ad5e420dedc7211227de73490a2503d23 (patch) | |
tree | f5457eb1dfcdeafe9def4021b93f1990299279ee /src/audio/AudioManager.cpp | |
parent | audio.h -> audio_enums.h (diff) | |
download | re3-428b407ad5e420dedc7211227de73490a2503d23.tar re3-428b407ad5e420dedc7211227de73490a2503d23.tar.gz re3-428b407ad5e420dedc7211227de73490a2503d23.tar.bz2 re3-428b407ad5e420dedc7211227de73490a2503d23.tar.lz re3-428b407ad5e420dedc7211227de73490a2503d23.tar.xz re3-428b407ad5e420dedc7211227de73490a2503d23.tar.zst re3-428b407ad5e420dedc7211227de73490a2503d23.zip |
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r-- | src/audio/AudioManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 19c994e3..4dc97fae 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -1,5 +1,6 @@ #include "common.h" #include "patcher.h" +#include "audio_enums.h" #include "AudioManager.h" @@ -7128,14 +7129,14 @@ cAudioManager::ProcessSpecial() { if(m_bUserPause) { if(!m_bPreviousUserPause) { - MusicManager.ChangeMusicMode(0); + MusicManager.ChangeMusicMode(MUSICMODE_FRONTEND); SampleManager.SetEffectsFadeVolume(maxVolume); SampleManager.SetMusicFadeVolume(maxVolume); } } else { if(m_bPreviousUserPause) { MusicManager.StopFrontEndTrack(); - MusicManager.ChangeMusicMode(1); + MusicManager.ChangeMusicMode(MUSICMODE_GAME); } CPlayerPed *playerPed = FindPlayerPed(); if(playerPed) { |