diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-09 19:18:42 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-09 19:18:42 +0300 |
commit | cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c (patch) | |
tree | f8a4337f1394c0c55b1be4e8ee62e49e713ba1c7 /src/save/GenericGameStorage.cpp | |
parent | 1cea84d2b1673bfd86e1698c27c381e1488c77cf (diff) |
Remove island loading
Diffstat (limited to 'src/save/GenericGameStorage.cpp')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index eff0f2ff..1ac17982 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -562,14 +562,17 @@ RestoreForStartLoad() ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().x); ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().y); ReadDataFromBufferPointer(_buf, TheCamera.GetMatrix().GetPosition().z); +#ifndef NO_ISLAND_LOADING CStreaming::RemoveUnusedBigBuildings(CGame::currLevel); CStreaming::RemoveUnusedBuildings(CGame::currLevel); +#endif CCollision::SortOutCollisionAfterLoad(); +#ifndef NO_ISLAND_LOADING CStreaming::RequestBigBuildings(CGame::currLevel); CStreaming::LoadAllRequestedModels(false); CStreaming::HaveAllBigBuildingsLoaded(CGame::currLevel); CGame::TidyUpMemory(true, false); - +#endif if (CloseFile(file)) { return true; } else { |