summaryrefslogtreecommitdiffstats
path: root/src/collision
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-01 23:18:38 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-01 23:18:38 +0200
commit8e6e46a919579b98962c2a0c770bda4f98323f46 (patch)
tree3b94530b28d1e616e760dd391ef161479de34360 /src/collision
parentfix compilation when ctype.h is included (diff)
downloadre3-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')
-rw-r--r--src/collision/ColStore.cpp2
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)