diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-01 23:18:38 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-01 23:18:38 +0200 |
commit | 8e6e46a919579b98962c2a0c770bda4f98323f46 (patch) | |
tree | 3b94530b28d1e616e760dd391ef161479de34360 /src/collision/ColStore.cpp | |
parent | fix compilation when ctype.h is included (diff) | |
download | re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar.gz re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar.bz2 re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar.lz re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar.xz re3-8e6e46a919579b98962c2a0c770bda4f98323f46.tar.zst re3-8e6e46a919579b98962c2a0c770bda4f98323f46.zip |
Diffstat (limited to 'src/collision/ColStore.cpp')
-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 f1e695fe..c74bf5ba 100644 --- a/src/collision/ColStore.cpp +++ b/src/collision/ColStore.cpp @@ -186,7 +186,7 @@ CColStore::LoadCollision(const CVector2D &pos) }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) |