summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-09-29 00:39:59 +0200
committerRoman Masanin <36927roma@gmail.com>2020-09-29 00:39:59 +0200
commita729f32c83c93cab54596911e957b0fbee028ebc (patch)
tree0753b52b1388a6d009fa29338f98376af3c1ce6d /src/vehicles
parentreverse compare (diff)
downloadre3-a729f32c83c93cab54596911e957b0fbee028ebc.tar
re3-a729f32c83c93cab54596911e957b0fbee028ebc.tar.gz
re3-a729f32c83c93cab54596911e957b0fbee028ebc.tar.bz2
re3-a729f32c83c93cab54596911e957b0fbee028ebc.tar.lz
re3-a729f32c83c93cab54596911e957b0fbee028ebc.tar.xz
re3-a729f32c83c93cab54596911e957b0fbee028ebc.tar.zst
re3-a729f32c83c93cab54596911e957b0fbee028ebc.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 795219ba..378a4c0a 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -351,11 +351,6 @@ CVehicle::FlyingControl(eFlightModel flightModel)
fSteerUD *= -fSteerMult;
// 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());
CVector vecTail = GetColModel()->boundingBox.min.y * GetForward();
float fThrust = (CPad::GetPad(0)->GetAccelerate() - CPad::GetPad(0)->GetBrake()) / 255.0f;