diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-03 15:39:22 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-03 15:39:22 +0200 |
commit | 5d5e0f62e8b677e122cbdceef8badcbaae7c0235 (patch) | |
tree | 499f2b9d749dc151a1f78b0f1e6433046d358636 /src/collision | |
parent | Merge branch 'miami' into lcs (diff) | |
parent | Fix overflow in audio code (diff) | |
download | re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar.gz re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar.bz2 re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar.lz re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar.xz re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.tar.zst re3-5d5e0f62e8b677e122cbdceef8badcbaae7c0235.zip |
Diffstat (limited to 'src/collision')
-rw-r--r-- | src/collision/ColStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collision/ColStore.cpp b/src/collision/ColStore.cpp index 90a29bc2..c50e6cbd 100644 --- a/src/collision/ColStore.cpp +++ b/src/collision/ColStore.cpp @@ -292,7 +292,7 @@ CColStore::LoadCollision(const CVector &pos, eLevelName level) }else{ for (int j = 0; j < MAX_CLEANUP; j++) { CPhysical* pEntity = nil; - cleanup_entity_struct* pCleanup = &CTheScripts::MissionCleanUp.m_sEntities[i]; + cleanup_entity_struct* pCleanup = &CTheScripts::MissionCleanUp.m_sEntities[j]; if (pCleanup->type == CLEANUP_CAR) { pEntity = CPools::GetVehiclePool()->GetAt(pCleanup->id); if (!pEntity || pEntity->GetStatus() == STATUS_WRECKED) |