summaryrefslogtreecommitdiffstats
path: root/src/core/ColStore.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-22 23:58:59 +0200
committeraap <aap@papnet.eu>2020-05-22 23:58:59 +0200
commita1e4b15bcc93fa814a63e1b6ccdca50197874e5c (patch)
treef54f09c8a5f002d64ed81a2f6a7e9024d9028612 /src/core/ColStore.cpp
parentCPhysical (diff)
parentMerge pull request #576 from Nick007J/miami (diff)
downloadre3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.gz
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.bz2
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.lz
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.xz
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.zst
re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.zip
Diffstat (limited to 'src/core/ColStore.cpp')
-rw-r--r--src/core/ColStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ColStore.cpp b/src/core/ColStore.cpp
index 80bbdc77..070967e5 100644
--- a/src/core/ColStore.cpp
+++ b/src/core/ColStore.cpp
@@ -178,7 +178,7 @@ CColStore::LoadCollision(const CVector2D &pos)
}else{
for (int j = 0; j < MAX_CLEANUP; j++) {
CPhysical* pEntity = CTheScripts::MissionCleanup.DoesThisEntityWaitForCollision(j);
- if (pEntity /* !pEntity->bDontLoadCollision && !pEntity->bIsFrozen */) {
+ if (pEntity && !pEntity->bDontLoadCollision && !pEntity->bIsFrozen) {
if (GetBoundingBox(i).IsPointInside(pEntity->GetPosition(), -80.0f))
wantThisOne = true;
}