summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-03-30 19:10:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-03-30 19:10:12 +0200
commit2607a91d87270709db4303ee8cb9011e2d9146ad (patch)
tree611cf59f1c46b60908057affe8d86eb9b39a23ad /src/core/CutsceneMgr.cpp
parentAdd russian lang support (diff)
parentMerge pull request #366 from Nick007J/master (diff)
downloadre3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.gz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.bz2
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.lz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.xz
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.tar.zst
re3-2607a91d87270709db4303ee8cb9011e2d9146ad.zip
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();
}