mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 07:59:45 +00:00
GTA_VERSION define and some config.h cleanup
This commit is contained in:
@ -824,7 +824,7 @@ CPhysical::ApplyCollisionAlt(CEntity *B, CColPoint &colpoint, float &impulse, CV
|
||||
normalSpeed = DotProduct(speed, colpoint.normal);
|
||||
if(normalSpeed < 0.0f){
|
||||
float minspeed = 1.3f*GRAVITY * CTimer::GetTimeStep();
|
||||
#ifdef GTA3_1_1_PATCH
|
||||
#if GTA_VERSION >= GTA3_PC_11
|
||||
if ((IsObject() || IsVehicle() && (GetUp().z < -0.3f || ((CVehicle*)this)->IsBike() && (GetStatus() == STATUS_ABANDONED || GetStatus() == STATUS_WRECKED))) &&
|
||||
#else
|
||||
if((IsObject() || IsVehicle() && GetUp().z < -0.3f) &&
|
||||
|
Reference in New Issue
Block a user