mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-12 02:08:15 +08:00
implemented CTrain
This commit is contained in:
commit
5f6b235301
15 files changed
+941
-97
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user