summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-03 20:46:35 +0200
committerGitHub <noreply@github.com>2019-08-03 20:46:35 +0200
commit3b9b0646b89bed28f2962b3d164f8b54a562daf7 (patch)
treeb6316892f79731335148a06c9e50996c25ed27e7 /src/core
parentMerge pull request #180 from erorcun/erorcun (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar.gz
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar.bz2
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar.lz
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar.xz
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.tar.zst
re3-3b9b0646b89bed28f2962b3d164f8b54a562daf7.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Collision.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Collision.cpp b/src/core/Collision.cpp
index df1dcd63..66b29d9f 100644
--- a/src/core/Collision.cpp
+++ b/src/core/Collision.cpp
@@ -144,7 +144,7 @@ CCollision::LoadCollisionWhenINeedIt(bool forceChange)
if(veh && veh->IsTrain()){
if(((CTrain*)veh)->m_nDoorState != TRAIN_DOOR_OPEN)
return;
- }else if(playerCoors.z < 4.0f && !CCullZones::DoINeedToLoadCollision())
+ }else if(playerCoors.z < -4.0f && !CCullZones::DoINeedToLoadCollision())
return;
// Figure out whose level's collisions we're most likely to be interested in