diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-09 18:18:42 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-09 18:18:42 +0200 |
commit | cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c (patch) | |
tree | f8a4337f1394c0c55b1be4e8ee62e49e713ba1c7 /src/save | |
parent | Remove console and fix sth (diff) | |
download | re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.gz re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.bz2 re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.lz re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.xz re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.tar.zst re3-cf69f22a0ce5b808a4d945a5cef1d9d4c51c0b5c.zip |
Diffstat (limited to 'src/save')
-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 { |