diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 02:31:42 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-19 02:31:42 +0200 |
commit | 4d1cfb7214a4867487f128c7e3360681f47e0239 (patch) | |
tree | 8ee67a9a78715308604c5422229977722e447603 /src/save/GenericGameStorage.cpp | |
parent | little fix (diff) | |
download | re3-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/GenericGameStorage.cpp')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 8 |
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); |