mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-30 01:50:04 +02:00
fixed collision
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user