diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 13:48:25 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 13:48:25 +0300 |
commit | 949d0c8853d31ae88fdf3427bae05ec337ab4b0b (patch) | |
tree | a755d2e6f03c9794196f3b0b3f6c7499b67a94a3 /src/control | |
parent | 693a5e0c2a874b5bc4057c51772deb35d0a10a46 (diff) |
Add audio cache for faster initialization
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Record.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Record.cpp b/src/control/Record.cpp index 30bca2f3..8dc0028a 100644 --- a/src/control/Record.cpp +++ b/src/control/Record.cpp @@ -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"); |