summaryrefslogtreecommitdiffstats
path: root/src/control/Record.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-08-16 20:02:48 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-08-16 20:02:48 +0200
commit27653343666fae5529946535a5e80e4b8819a624 (patch)
tree4fffe2c69e0deac67c8e99bed1e82bd21eeb276f /src/control/Record.cpp
parentsync with master (diff)
parentremove CFO (diff)
downloadre3-27653343666fae5529946535a5e80e4b8819a624.tar
re3-27653343666fae5529946535a5e80e4b8819a624.tar.gz
re3-27653343666fae5529946535a5e80e4b8819a624.tar.bz2
re3-27653343666fae5529946535a5e80e4b8819a624.tar.lz
re3-27653343666fae5529946535a5e80e4b8819a624.tar.xz
re3-27653343666fae5529946535a5e80e4b8819a624.tar.zst
re3-27653343666fae5529946535a5e80e4b8819a624.zip
Diffstat (limited to 'src/control/Record.cpp')
-rw-r--r--src/control/Record.cpp8
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");