diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:51:18 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-29 17:51:18 +0200 |
commit | 24b8c7819c52ed09dd46d1a453dbaffd86b9e699 (patch) | |
tree | 54236602fd5bb48eea2b95ab5ccfc77d4080d3c0 /src/core/CutsceneMgr.cpp | |
parent | fix (diff) | |
parent | Merge pull request #365 from Fire-Head/master (diff) | |
download | re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.gz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.bz2 re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.lz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.xz re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.tar.zst re3-24b8c7819c52ed09dd46d1a453dbaffd86b9e699.zip |
Diffstat (limited to 'src/core/CutsceneMgr.cpp')
-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 a3ff2fd0..283f34b8 100644 --- a/src/core/CutsceneMgr.cpp +++ b/src/core/CutsceneMgr.cpp @@ -183,7 +183,7 @@ CCutsceneMgr::LoadCutsceneData(const char *szCutsceneName) ms_pCutsceneDir->ReadDirFile("ANIM\\CUTS.DIR"); CStreaming::RemoveUnusedModelsInLoadedList(); - CGame::DrasticTidyUpMemory(); + CGame::DrasticTidyUpMemory(true); strcpy(ms_cutsceneName, szCutsceneName); file = CFileMgr::OpenFile("ANIM\\CUTS.IMG", "rb"); @@ -374,8 +374,7 @@ CCutsceneMgr::DeleteCutsceneData(void) DMAudio.ChangeMusicMode(MUSICMODE_GAME); } CTimer::Stop(); - //TheCamera.GetScreenFadeStatus() == 2; // what for?? - CGame::DrasticTidyUpMemory(); + CGame::DrasticTidyUpMemory(TheCamera.GetScreenFadeStatus() == 2); CTimer::Update(); } |