summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-03 21:43:07 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-03 21:43:07 +0300
commitd3ddfd8e408c7a8bef92f1276ae4e433b5d0af5d (patch)
tree3b552ad599eb9edb556b1876be5b024dbe5a9c96 /src
parent2fb5187e515704533be3728e723c34a4853c861f (diff)
fixed collision
Diffstat (limited to 'src')
-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