mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-04 05:19:59 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
4c133a95bd
7 changed files with 46 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue