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/core/CutsceneMgr.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 '')
-rw-r--r-- | src/core/CutsceneMgr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/CutsceneMgr.cpp b/src/core/CutsceneMgr.cpp index 95abfcc9..f147e8c9 100644 --- a/src/core/CutsceneMgr.cpp +++ b/src/core/CutsceneMgr.cpp @@ -17,7 +17,6 @@ #include "RpAnimBlend.h" #include "ModelIndices.h" #include "TempColModels.h" -#include "MusicManager.h" const struct { const char *szTrackName; @@ -209,7 +208,7 @@ CCutsceneMgr::LoadCutsceneData(const char *szCutsceneName) CFileMgr::CloseFile(file);
if (strcmpi(ms_cutsceneName, "end")) {
- DMAudio.ChangeMusicMode(2);
+ DMAudio.ChangeMusicMode(MUSICMODE_CUTSCENE);
int trackId = FindCutsceneAudioTrackId(szCutsceneName);
if (trackId != -1) {
printf("Start preload audio %s\n", szCutsceneName);
@@ -368,7 +367,7 @@ CCutsceneMgr::DeleteCutsceneData(void) if (strcmpi(ms_cutsceneName, "end")) {
DMAudio.StopCutSceneMusic();
if (strcmpi(ms_cutsceneName, "bet"))
- DMAudio.ChangeMusicMode(1);
+ DMAudio.ChangeMusicMode(MUSICMODE_GAME);
}
CTimer::Stop();
//TheCamera.GetScreenFadeStatus() == 2; // what for??
|