diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-26 15:23:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 15:23:04 +0200 |
commit | fd8096aec8deaaa3ce3500853f8a4b4cba2b688a (patch) | |
tree | 0f5c8a4a2197ef2812d63e6333ec267eda8ddcf0 /src/control/Replay.cpp | |
parent | Fix audio bug (diff) | |
parent | A bit more enums for ChangeMusicMode (diff) | |
download | re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar.gz re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar.bz2 re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar.lz re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar.xz re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.tar.zst re3-fd8096aec8deaaa3ce3500853f8a4b4cba2b688a.zip |
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r-- | src/control/Replay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 473b13d3..1bd1bf4b 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -1036,7 +1036,7 @@ void CReplay::TriggerPlayback(uint8 cam_mode, float cam_x, float cam_y, float ca bAllowLookAroundCam = true; bPlayingBackFromFile = false; OldRadioStation = DMAudio.GetRadioInCar(); - DMAudio.ChangeMusicMode(0); + DMAudio.ChangeMusicMode(MUSICMODE_FRONTEND); DMAudio.SetEffectsFadeVol(0); DMAudio.SetMusicFadeVol(0); int current; @@ -1282,9 +1282,9 @@ void CReplay::RestoreStuffFromMem(void) } delete[] pPedAnims; pPedAnims = nil; - DMAudio.ChangeMusicMode(0); + DMAudio.ChangeMusicMode(MUSICMODE_FRONTEND); DMAudio.SetRadioInCar(OldRadioStation); - DMAudio.ChangeMusicMode(1); + DMAudio.ChangeMusicMode(MUSICMODE_GAME); } #endif |