Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Nikolay Korolev committed 2020-04-18 23:50:58 +03:00
commit 4c133a95bd
7 files changed
+46 -19

No files matched your search

+4
View File
@@ -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;