summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-03 20:43:07 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-03 20:43:07 +0200
commitd3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d (patch)
tree3b552ad599eb9edb556b1876be5b024dbe5a9c96
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar.gz
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar.bz2
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar.lz
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar.xz
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.tar.zst
re3-d3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d.zip
-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