diff options
Diffstat (limited to 'src/core/Collision.cpp')
-rw-r--r-- | src/core/Collision.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Collision.cpp b/src/core/Collision.cpp index cc360f79..df1dcd63 100644 --- a/src/core/Collision.cpp +++ b/src/core/Collision.cpp @@ -142,8 +142,8 @@ CCollision::LoadCollisionWhenINeedIt(bool forceChange) veh = FindPlayerVehicle(); if(veh && veh->IsTrain()){ - if(((CTrain*)veh)->m_doorState != TRAIN_DOOR_STATE2) - return ; + if(((CTrain*)veh)->m_nDoorState != TRAIN_DOOR_OPEN) + return; }else if(playerCoors.z < 4.0f && !CCullZones::DoINeedToLoadCollision()) return; |