Vc ped ports and Frontend fixes
This commit is contained in:
1 parent
522d14814f
commit
2f63e5e751
3 files changed
+27
-11
No files matched your search
@@ -787,6 +787,10 @@ CVehicle::CanPedExitCar(void)
|
||||
{
|
||||
CVector up = GetUp();
|
||||
if(up.z > 0.1f || up.z < -0.1f){
|
||||
#ifdef VC_PED_PORTS
|
||||
if (IsBoat())
|
||||
return true;
|
||||
#endif
|
||||
// can't exit when car is moving too fast
|
||||
if(m_vecMoveSpeed.MagnitudeSqr() > 0.005f)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user