Mantis 0001090:

o Lerk backward flight removed

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@297 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-07-25 20:57:13 +00:00
parent 4f97ab24f4
commit f10d17f627

View file

@ -5051,15 +5051,15 @@ void PM_Jump (void)
else
{
// tankefugl: 0000522 reverse lerk flight
theThrust = pmove->cmd.forwardmove * kWingThrustForwardScalar; //kWingThrustBackwardScalar;
theLift = 200 * (pmove->forward[2] + 0.5) / 1.5;
if (theLift < 0)
{
theLift = 0;
}
//theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
//theLift = 200;
// Uncomment to enable backwards flight
//theThrust = pmove->cmd.forwardmove * kWingThrustForwardScalar; //kWingThrustBackwardScalar;
//theLift = 200 * (pmove->forward[2] + 0.5) / 1.5;
//if (theLift < 0)
//{
// theLift = 0;
//}
theThrust = -pmove->cmd.forwardmove * kWingThrustBackwardScalar;
theLift = 200;
// :tankefugl
}
@ -5191,8 +5191,8 @@ void PM_Jump (void)
float projectedSpeed = DotProduct(pmove->velocity, pmove->forward);
// tankefugl: 0000522 reverse lerk flight
if (projectedSpeed < 0)
speed *= -1;
//if (projectedSpeed < 0)
// speed *= -1;
// :tankefugl
vec3_t forwardVelocity;
VectorScale(pmove->forward, speed, forwardVelocity);