mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-28 17:25:40 +00:00
TEMPORALY remove flying cars
This commit is contained in:
parent
a5269b998b
commit
a729f32c83
1 changed files with 0 additions and 5 deletions
|
@ -351,11 +351,6 @@ CVehicle::FlyingControl(eFlightModel flightModel)
|
||||||
fSteerUD *= -fSteerMult;
|
fSteerUD *= -fSteerMult;
|
||||||
|
|
||||||
// thrust
|
// thrust
|
||||||
#ifdef ALT_DODO_CHEAT //allow fly on cars
|
|
||||||
float dooCompinsator = ((CPad::GetPad(0)->GetAccelerate() - CPad::GetPad(0)->GetBrake()) / 255.0f) * 2;
|
|
||||||
if (bAltDodoCheat)
|
|
||||||
ApplyMoveForce(GetForward() * CTimer::GetTimeStep() * dooCompinsator);
|
|
||||||
#endif
|
|
||||||
float fForwSpeed = DotProduct(GetMoveSpeed(), GetForward());
|
float fForwSpeed = DotProduct(GetMoveSpeed(), GetForward());
|
||||||
CVector vecTail = GetColModel()->boundingBox.min.y * GetForward();
|
CVector vecTail = GetColModel()->boundingBox.min.y * GetForward();
|
||||||
float fThrust = (CPad::GetPad(0)->GetAccelerate() - CPad::GetPad(0)->GetBrake()) / 255.0f;
|
float fThrust = (CPad::GetPad(0)->GetAccelerate() - CPad::GetPad(0)->GetBrake()) / 255.0f;
|
||||||
|
|
Loading…
Reference in a new issue