mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 16:14:12 +00:00
1.1 patch stuff
This commit is contained in:
parent
bcc3a8b6c7
commit
9e65eb34ec
13 changed files with 109 additions and 2 deletions
|
@ -814,7 +814,11 @@ CPhysical::ApplyCollisionAlt(CEntity *B, CColPoint &colpoint, float &impulse, CV
|
|||
normalSpeed = DotProduct(speed, colpoint.normal);
|
||||
if(normalSpeed < 0.0f){
|
||||
float minspeed = 0.0104f * CTimer::GetTimeStep();
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
if ((IsObject() || IsVehicle() && (GetUp().z < -0.3f || ((CVehicle*)this)->IsBike() && (m_status == STATUS_ABANDONED || m_status == STATUS_WRECKED))) &&
|
||||
#else
|
||||
if((IsObject() || IsVehicle() && GetUp().z < -0.3f) &&
|
||||
#endif
|
||||
!bHasContacted &&
|
||||
Abs(m_vecMoveSpeed.x) < minspeed &&
|
||||
Abs(m_vecMoveSpeed.y) < minspeed &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue