diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-16 16:26:44 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-16 16:26:44 +0200 |
commit | 732681db08438f0d61ad7fe4d670f79feaac7b9e (patch) | |
tree | f891869168bcc041408ac4ce00302fc4c1b5346b /src/control/Record.cpp | |
parent | Graphics menu + MSAA (diff) | |
download | re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar.gz re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar.bz2 re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar.lz re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar.xz re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.tar.zst re3-732681db08438f0d61ad7fe4d670f79feaac7b9e.zip |
Diffstat (limited to 'src/control/Record.cpp')
-rw-r--r-- | src/control/Record.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/control/Record.cpp b/src/control/Record.cpp index 8dc0028a..8a23ffde 100644 --- a/src/control/Record.cpp +++ b/src/control/Record.cpp @@ -9,6 +9,7 @@ #include "Timer.h" #include "VehicleModelInfo.h" #include "World.h" +#include "Frontend.h" uint16 CRecordDataForGame::RecordingState; uint8* CRecordDataForGame::pDataBuffer; @@ -439,10 +440,11 @@ void CRecordDataForChase::StartChaseScene(float startTime) Status = STATE_PLAYBACK; AnimTime = startTime; AnimStartTime = CTimer::GetTimeInMilliseconds(); -#ifndef NO_ISLAND_LOADING - RemoveUnusedCollision(); - CStreaming::RemoveIslandsNotUsed(LEVEL_SUBURBAN); +#ifdef NO_ISLAND_LOADING + if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW) #endif + RemoveUnusedCollision(); + CStreaming::RemoveIslandsNotUsed(LEVEL_SUBURBAN); CGame::TidyUpMemory(true, true); CStreaming::ImGonnaUseStreamingMemory(); CFileMgr::SetDir("data\\paths"); |