fixed collision

This commit is contained in:
Nikolay Korolev 2019-08-03 21:43:07 +03:00
parent 2fb5187e51
commit d3ddfd8e40

View file

@ -144,7 +144,7 @@ CCollision::LoadCollisionWhenINeedIt(bool forceChange)
if(veh && veh->IsTrain()){ if(veh && veh->IsTrain()){
if(((CTrain*)veh)->m_nDoorState != TRAIN_DOOR_OPEN) if(((CTrain*)veh)->m_nDoorState != TRAIN_DOOR_OPEN)
return; return;
}else if(playerCoors.z < 4.0f && !CCullZones::DoINeedToLoadCollision()) }else if(playerCoors.z < -4.0f && !CCullZones::DoINeedToLoadCollision())
return; return;
// Figure out whose level's collisions we're most likely to be interested in // Figure out whose level's collisions we're most likely to be interested in