summaryrefslogtreecommitdiffstats
path: root/src/save
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-19 02:31:42 +0200
committerSergeanur <s.anureev@yandex.ua>2020-08-19 02:31:42 +0200
commit4d1cfb7214a4867487f128c7e3360681f47e0239 (patch)
tree8ee67a9a78715308604c5422229977722e447603 /src/save
parentlittle fix (diff)
downloadre3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.gz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.bz2
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.lz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.xz
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.tar.zst
re3-4d1cfb7214a4867487f128c7e3360681f47e0239.zip
Diffstat (limited to 'src/save')
-rw-r--r--src/save/GenericGameStorage.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp
index 516c8d46..81bcb6b0 100644
--- a/src/save/GenericGameStorage.cpp
+++ b/src/save/GenericGameStorage.cpp
@@ -562,17 +562,13 @@ RestoreForStartLoad()
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().x);
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().y);
ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().z);
-#ifdef NO_ISLAND_LOADING
- if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
-#endif
+ ISLAND_LOADING_IS(LOW)
{
CStreaming::RemoveUnusedBigBuildings(CGame::currLevel);
CStreaming::RemoveUnusedBuildings(CGame::currLevel);
}
CCollision::SortOutCollisionAfterLoad();
-#ifdef NO_ISLAND_LOADING
- if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
-#endif
+ ISLAND_LOADING_IS(LOW)
{
CStreaming::RequestBigBuildings(CGame::currLevel);
CStreaming::LoadAllRequestedModels(false);