Add audio cache for faster initialization

This commit is contained in:
Sergeanur committed 2020-07-17 13:48:25 +03:00
1 parent 693a5e0c2a
commit 949d0c8853
5 files changed
+35 -2

No files matched your search

+2
View File
@@ -439,8 +439,10 @@ void CRecordDataForChase::StartChaseScene(float startTime)
Status = STATE_PLAYBACK;
AnimTime = startTime;
AnimStartTime = CTimer::GetTimeInMilliseconds();
#ifndef NO_ISLAND_LOADING
RemoveUnusedCollision();
CStreaming::RemoveIslandsNotUsed(LEVEL_SUBURBAN);
#endif
CGame::TidyUpMemory(true, true);
CStreaming::ImGonnaUseStreamingMemory();
CFileMgr::SetDir("data\\paths");