summaryrefslogtreecommitdiffstats
path: root/src/core/CutsceneMgr.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:51:18 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-29 17:51:18 +0200
commit24b8c7819c52ed09dd46d1a453dbaffd86b9e699 (patch)
tree54236602fd5bb48eea2b95ab5ccfc77d4080d3c0 /src/core/CutsceneMgr.cpp
parentfix (diff)
parentMerge pull request #365 from Fire-Head/master (diff)
downloadre3-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.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();
}