summaryrefslogtreecommitdiff
path: root/src/core/CutsceneMgr.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-30 20:10:12 +0300
committerSergeanur <s.anureev@yandex.ua>2020-03-30 20:10:12 +0300
commit2607a91d87270709db4303ee8cb9011e2d9146ad (patch)
tree611cf59f1c46b60908057affe8d86eb9b39a23ad /src/core/CutsceneMgr.cpp
parentbb8868eba79e0c6b76ca1e5a397ac20e72937798 (diff)
parent8e3ee096e2ec54ea852c29f8eb44ec0eaa4588cd (diff)
Merge remote-tracking branch 'origin/master' into MoreLanguages
Diffstat (limited to 'src/core/CutsceneMgr.cpp')
-rw-r--r--src/core/CutsceneMgr.cpp5
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();
}