diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 16:43:09 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 16:43:09 +0200 |
commit | 841fa5155c17b6edf4774deaa311a4e5935be4d6 (patch) | |
tree | 7fae91d0edd59cdb4c340d9cf590e0cd07a75310 /src/control/Replay.cpp | |
parent | Add cutscene borders switch to the menu (diff) | |
download | re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.gz re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.bz2 re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.lz re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.xz re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.zst re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 707f1d87..cb9df508 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -164,7 +164,7 @@ static void ApplyPanelDamageToCar(uint32 panels, CAutomobile* vehicle, bool flyi void PrintElementsInPtrList(void) { - for (CPtrNode* node = CWorld::GetBigBuildingList(LEVEL_NONE).first; node; node = node->next) { + for (CPtrNode* node = CWorld::GetBigBuildingList(LEVEL_GENERIC).first; node; node = node->next) { /* Most likely debug print was present here */ } } @@ -1124,7 +1124,7 @@ void CReplay::StoreStuffInMem(void) pWorld1 = new uint8[sizeof(CSector) * NUMSECTORS_X * NUMSECTORS_Y]; memcpy(pWorld1, CWorld::GetSector(0, 0), NUMSECTORS_X * NUMSECTORS_Y * sizeof(CSector)); WorldPtrList = CWorld::GetMovingEntityList().first; // why - BigBuildingPtrList = CWorld::GetBigBuildingList(LEVEL_NONE).first; + BigBuildingPtrList = CWorld::GetBigBuildingList(LEVEL_GENERIC).first; pPickups = new uint8[sizeof(CPickup) * NUMPICKUPS]; memcpy(pPickups, CPickups::aPickUps, NUMPICKUPS * sizeof(CPickup)); pReferences = new uint8[(sizeof(CReference) * NUMREFERENCES)]; @@ -1170,7 +1170,7 @@ void CReplay::RestoreStuffFromMem(void) delete[] pWorld1; pWorld1 = nil; CWorld::GetMovingEntityList().first = WorldPtrList; - CWorld::GetBigBuildingList(LEVEL_NONE).first = BigBuildingPtrList; + CWorld::GetBigBuildingList(LEVEL_GENERIC).first = BigBuildingPtrList; memcpy(CPickups::aPickUps, pPickups, sizeof(CPickup) * NUMPICKUPS); delete[] pPickups; pPickups = nil; |